[Bf-blender-cvs] [d95bb08f395] blender2.8: Multi-Objects: POSE_OT_select_hierarchy (no real change)
Dalai Felinto
noreply at git.blender.org
Fri Oct 12 18:50:49 CEST 2018
Commit: d95bb08f395ace3fdfed71058658b7acef458ded
Author: Dalai Felinto
Date: Fri Oct 12 13:24:01 2018 -0300
Branches: blender2.8
https://developer.blender.org/rBd95bb08f395ace3fdfed71058658b7acef458ded
Multi-Objects: POSE_OT_select_hierarchy (no real change)
This operator doesn't need any changes. Following the guideline of
multi-objects behaving alike joined armatures, there is no need
to change any armature that is not the active one.
That said I will revert the behaviour of ARMATURE_OT_SELECT_hierarchy to
follow the same rule (i.e., revert dcc623e7e7ea).
===================================================================
M source/blender/editors/armature/pose_select.c
===================================================================
diff --git a/source/blender/editors/armature/pose_select.c b/source/blender/editors/armature/pose_select.c
index a9ddbcc7fab..d78c3547b36 100644
--- a/source/blender/editors/armature/pose_select.c
+++ b/source/blender/editors/armature/pose_select.c
@@ -570,6 +570,8 @@ void POSE_OT_select_constraint_target(wmOperatorType *ot)
/* -------------------------------------- */
+/* No need to convert to multi-objects. Just like we keep the non-active bones
+ * selected we then keep the non-active objects untouched (selected/unselected). */
static int pose_select_hierarchy_exec(bContext *C, wmOperator *op)
{
Object *ob = BKE_object_pose_armature_get(CTX_data_active_object(C));
More information about the Bf-blender-cvs
mailing list