[Bf-blender-cvs] [21661d16815] blender2.8: Fix MESH_OT_shortest_path_pick

Dalai Felinto noreply at git.blender.org
Fri Aug 24 17:17:25 CEST 2018


Commit: 21661d16815de21285032b0882228bd990d23081
Author: Dalai Felinto
Date:   Fri Aug 24 12:15:53 2018 -0300
Branches: blender2.8
https://developer.blender.org/rB21661d16815de21285032b0882228bd990d23081

Fix MESH_OT_shortest_path_pick

It was working only for REDO.

The reason was that we were not tagging our beloved
new multi-threaded depedency graph.

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

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

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

diff --git a/source/blender/editors/mesh/editmesh_select.c b/source/blender/editors/mesh/editmesh_select.c
index 395943dd4f5..265734130c9 100644
--- a/source/blender/editors/mesh/editmesh_select.c
+++ b/source/blender/editors/mesh/editmesh_select.c
@@ -4406,6 +4406,7 @@ static int edbm_select_axis_exec(bContext *C, wmOperator *op)
 		}
 		EDBM_selectmode_flush(em);
 		WM_event_add_notifier(C, NC_GEOM | ND_DATA, obedit_iter->data);
+		DEG_id_tag_update(obedit_iter->data, DEG_TAG_SELECT_UPDATE);
 	}
 	MEM_freeN(objects);
 	return OPERATOR_FINISHED;



More information about the Bf-blender-cvs mailing list