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:
authorCampbell Barton <ideasman42@gmail.com>2019-09-01 18:39:34 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-09-01 18:39:34 +0300
commit6ff675f830201033950269c107c8205992f810ff (patch)
treee8c2ca2568ba5481ec2935eb228aee6f52f51803 /source/blender
parent460e4024e8935e219773b053366be7ea4740962f (diff)
Fix transforming origin affecting unselected children
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/transform/transform_conversions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c
index 70552422524..887d4bcf0e8 100644
--- a/source/blender/editors/transform/transform_conversions.c
+++ b/source/blender/editors/transform/transform_conversions.c
@@ -8075,8 +8075,8 @@ static void createTransObject(bContext *C, TransInfo *t)
/* if base is not selected, not a parent of selection
* or not a child of selection and it is editable and selectable */
- if ((base->flag & BASE_SELECTED) == 0 && BASE_EDITABLE(v3d, base) &&
- BASE_SELECTABLE(v3d, base)) {
+ if ((base->flag_legacy & BA_WAS_SEL) && (base->flag & BASE_SELECTED) == 0 &&
+ BASE_EDITABLE(v3d, base) && BASE_SELECTABLE(v3d, base)) {
Object *ob_parent = ob->parent;
if (ob_parent != NULL) {