[Bf-blender-cvs] [db5a82302cb] master: Error in last commit

Campbell Barton noreply at git.blender.org
Wed Mar 20 08:13:32 CET 2019


Commit: db5a82302cb322b24d0e0a315e6af499706e8aca
Author: Campbell Barton
Date:   Wed Mar 20 18:05:35 2019 +1100
Branches: master
https://developer.blender.org/rBdb5a82302cb322b24d0e0a315e6af499706e8aca

Error in last commit

===================================================================

M	source/blender/editors/space_view3d/view3d_edit.c

===================================================================

diff --git a/source/blender/editors/space_view3d/view3d_edit.c b/source/blender/editors/space_view3d/view3d_edit.c
index 042a44223c9..d7a767a3701 100644
--- a/source/blender/editors/space_view3d/view3d_edit.c
+++ b/source/blender/editors/space_view3d/view3d_edit.c
@@ -1521,12 +1521,11 @@ static int ndof_pan_invoke(bContext *C, wmOperator *UNUSED(op), const wmEvent *e
 			}
 		}
 
+		ED_view3d_camera_lock_sync(depsgraph, v3d, rv3d);
 		if (xform_flag) {
 			ED_view3d_camera_lock_autokey(v3d, rv3d, C, false, xform_flag & HAS_TRANSLATE);
 		}
 
-		ED_view3d_camera_lock_sync(depsgraph, v3d, rv3d);
-
 		ED_region_tag_redraw(CTX_wm_region(C));
 
 		return OPERATOR_FINISHED;



More information about the Bf-blender-cvs mailing list