[Bf-blender-cvs] [2944f3e92b6] master: Fix 1 frame delayed orientation in Placement Gizmo

Germano Cavalcante noreply at git.blender.org
Mon Oct 18 18:44:22 CEST 2021


Commit: 2944f3e92b68301b75c133359dc3fe0891823bff
Author: Germano Cavalcante
Date:   Mon Oct 18 13:32:15 2021 -0300
Branches: master
https://developer.blender.org/rB2944f3e92b68301b75c133359dc3fe0891823bff

Fix 1 frame delayed orientation in Placement Gizmo

Error in {rB69d6222481b4}

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

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

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

diff --git a/source/blender/editors/space_view3d/view3d_cursor_snap.c b/source/blender/editors/space_view3d/view3d_cursor_snap.c
index 03aa9316a38..712e68501c5 100644
--- a/source/blender/editors/space_view3d/view3d_cursor_snap.c
+++ b/source/blender/editors/space_view3d/view3d_cursor_snap.c
@@ -659,7 +659,7 @@ static void cursor_snap_update(const bContext *C,
     orthogonalize_m3(omat, snap_data->plane_axis);
 
     if (orient_surface) {
-      cursor_poject_surface_normal(snap_data->face_nor, obmat, omat);
+      cursor_poject_surface_normal(face_nor, obmat, omat);
     }
   }



More information about the Bf-blender-cvs mailing list