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>2010-07-14 15:58:19 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-07-14 15:58:19 +0400
commit80355fd456cbdb87d0b88a668796d68a0b66c0b2 (patch)
treef6a5001d87768377b8847a8f5fc2a4df830ee591 /release/scripts/op/object.py
parentfef943873c0b778ce9c372768399d9e706e49a62 (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.py8
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'}