diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-07-14 15:58:19 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-07-14 15:58:19 +0400 |
commit | 80355fd456cbdb87d0b88a668796d68a0b66c0b2 (patch) | |
tree | f6a5001d87768377b8847a8f5fc2a4df830ee591 /release/scripts/op/object.py | |
parent | fef943873c0b778ce9c372768399d9e706e49a62 (diff) |
bugfix [#22843] Cannot export to folder with ".blend" on the end.
Diffstat (limited to 'release/scripts/op/object.py')
-rw-r--r-- | release/scripts/op/object.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/op/object.py b/release/scripts/op/object.py index 0353856ed20..b16d2b0dcf2 100644 --- a/release/scripts/op/object.py +++ b/release/scripts/op/object.py @@ -131,11 +131,11 @@ class SelectHierarchy(bpy.types.Operator): if parent: parents.append(parent) - - if obj_act == obj: - context.scene.objects.active = parent - parent.selected = True + if obj_act == obj: + context.scene.objects.active = parent + + parent.selected = True if parents: return {'CANCELLED'} |