Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2018-10-12 19:24:01 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-10-12 19:49:55 +0300
commitd95bb08f395ace3fdfed71058658b7acef458ded (patch)
tree814da32515aaa9207f08df7b090b158ab74ffedb /source/blender
parent77653d97fb42da44d3b0150519000d26eb622009 (diff)
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).
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/armature/pose_select.c2
1 files changed, 2 insertions, 0 deletions
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));