diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2021-10-18 19:32:15 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2021-10-18 19:32:56 +0300 |
commit | 2944f3e92b68301b75c133359dc3fe0891823bff (patch) | |
tree | c8bc0f4cf1af7fa10840f0385dfa6124279c1f2b /source/blender/editors/space_view3d/view3d_cursor_snap.c | |
parent | 46fe43feca6924dabde37b79cd6239bfbbeabeb8 (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.c | 2 |
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); } } |