Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGermano Cavalcante <germano.costa@ig.com.br>2021-10-18 19:32:15 +0300
committerGermano Cavalcante <germano.costa@ig.com.br>2021-10-18 19:32:56 +0300
commit2944f3e92b68301b75c133359dc3fe0891823bff (patch)
treec8bc0f4cf1af7fa10840f0385dfa6124279c1f2b /source/blender/editors/space_view3d/view3d_cursor_snap.c
parent46fe43feca6924dabde37b79cd6239bfbbeabeb8 (diff)
Fix 1 frame delayed orientation in Placement Gizmo
Error in {rB69d6222481b4}
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_cursor_snap.c')
-rw-r--r--source/blender/editors/space_view3d/view3d_cursor_snap.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}