py api: minor change to operator attribute access, do identity comparison with None (no functional change).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55958 954f8c5b-7b00-dc11-b283-0030488c597c
make scene.ray_cast() behave like object.ray_cast(), add distance arg to snapObjectsRayEx().


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55959 954f8c5b-7b00-dc11-b283-0030488c597c