[Bf-blender-cvs] [77f0f3c] master: Fix parent tips staying selected after separate
Campbell Barton
noreply at git.blender.org
Wed May 27 02:35:24 CEST 2015
Commit: 77f0f3c54e9b641139da43a6aa7cf15af97fcc08
Author: Campbell Barton
Date: Wed May 27 10:34:08 2015 +1000
Branches: master
https://developer.blender.org/rB77f0f3c54e9b641139da43a6aa7cf15af97fcc08
Fix parent tips staying selected after separate
===================================================================
M source/blender/editors/armature/armature_relations.c
===================================================================
diff --git a/source/blender/editors/armature/armature_relations.c b/source/blender/editors/armature/armature_relations.c
index 058a9a5..8cda6f6 100644
--- a/source/blender/editors/armature/armature_relations.c
+++ b/source/blender/editors/armature/armature_relations.c
@@ -641,6 +641,9 @@ static int separate_armature_exec(bContext *C, wmOperator *op)
ED_armature_to_edit(obedit->data);
+ /* parents tips remain selected when connected children are removed. */
+ ED_armature_deselect_all(obedit);
+
BKE_report(op->reports, RPT_INFO, "Separated bones");
/* note, notifier might evolve */
More information about the Bf-blender-cvs
mailing list