Proper fix for camera transform with snap.
Please email me or report a bug when such problem arise, it's simpler if done properly the first time.
This commit is contained in:
@@ -231,7 +231,8 @@ void initSnapping(TransInfo *t)
|
||||
{
|
||||
resetSnapping(t);
|
||||
|
||||
if (t->spacetype == SPACE_VIEW3D || t->spacetype == SPACE_IMAGE) { // Only 3D view or UV
|
||||
if ((t->spacetype == SPACE_VIEW3D || t->spacetype == SPACE_IMAGE) && // Only 3D view or UV
|
||||
(t->flag & T_CAMERA) == 0) { // Not with camera selected
|
||||
setSnappingCallback(t);
|
||||
|
||||
/* Edit mode */
|
||||
|
||||
Reference in New Issue
Block a user