bugfix/functionality fix [#21752] 3D cursor vanished and does not come back
authorCampbell Barton <ideasman42@gmail.com>
Fri, 6 Aug 2010 03:52:13 +0000 (03:52 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 6 Aug 2010 03:52:13 +0000 (03:52 +0000)
commit99c64e05a6a7cdd8b2e5bf88706165ebdb5101d1
tree23bfe326c0957b1285176c7051742211457c2882
parent267a7b76e837d9de5b3a280fd731f9c678ead59e
bugfix/functionality fix [#21752] 3D cursor vanished and does not come back

Setting the 3d cursor in perspective mode would keep the cursor behind the viewport,
now check if the cursor is begind the viewport and use the orbit location to set the cursor depth rather then the existing plane.
source/blender/editors/include/ED_view3d.h
source/blender/editors/space_view3d/view3d_edit.c
source/blender/editors/space_view3d/view3d_view.c