diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-09-01 18:39:34 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-09-01 18:39:34 +0300 |
commit | 6ff675f830201033950269c107c8205992f810ff (patch) | |
tree | e8c2ca2568ba5481ec2935eb228aee6f52f51803 /source | |
parent | 460e4024e8935e219773b053366be7ea4740962f (diff) |
Fix transforming origin affecting unselected children
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/transform/transform_conversions.c | 4 |
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) { |