[Bf-blender-cvs] [e31625a697a] blender2.8: Fix 'Set and Use 3D Cursor' normal editing command.

Howard Trickey noreply at git.blender.org
Wed Nov 7 13:45:10 CET 2018


Commit: e31625a697ac63d1e1cee98302cad83c367a097d
Author: Howard Trickey
Date:   Wed Nov 7 07:40:26 2018 -0500
Branches: blender2.8
https://developer.blender.org/rBe31625a697ac63d1e1cee98302cad83c367a097d

Fix 'Set and Use 3D Cursor' normal editing command.

Was missing a return of OPERATOR_RUNNING_MODAL for that subcommand.

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

M	source/blender/editors/mesh/editmesh_tools.c

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

diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c
index b7ab1e159f7..a442c76a65e 100644
--- a/source/blender/editors/mesh/editmesh_tools.c
+++ b/source/blender/editors/mesh/editmesh_tools.c
@@ -7380,6 +7380,7 @@ static int edbm_point_normals_modal(bContext *C, wmOperator *op, const wmEvent *
 				new_mode = EDBM_CLNOR_POINTTO_MODE_COORDINATES;
 				ED_view3d_cursor3d_update(C, event->mval, false, V3D_CURSOR_ORIENT_NONE);
 				copy_v3_v3(target, ED_view3d_cursor3d_get(scene, v3d)->location);
+				ret = OPERATOR_RUNNING_MODAL;
 				break;
 
 			case EDBM_CLNOR_MODAL_POINTTO_SET_USE_SELECTED:



More information about the Bf-blender-cvs mailing list