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>2017-07-20 11:37:36 +0300
committerDalai Felinto <dfelinto@gmail.com>2017-07-20 11:37:53 +0300
commiteee4755c74e86128c2ea6f68da743888f37b8091 (patch)
tree941ea5a345013c79612af3c1818486181360e604 /release/scripts/startup/bl_ui/properties_object.py
parent0e2f8ed8a6f7daf40a5c009d9c26b38794159dcc (diff)
Fix active object doesn't show on templateID
Before that if you went to the object panel tab in the Properties Editor the active object wouldn't show in the first panel.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_object.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_object.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_object.py b/release/scripts/startup/bl_ui/properties_object.py
index 5311e893773..0d8309268fb 100644
--- a/release/scripts/startup/bl_ui/properties_object.py
+++ b/release/scripts/startup/bl_ui/properties_object.py
@@ -40,7 +40,7 @@ class OBJECT_PT_context_object(ObjectButtonsPanel, Panel):
layout.template_ID(space, "pin_id")
else:
row = layout.row()
- row.template_ID(context.scene.objects, "active")
+ row.template_ID(context.render_layer.objects, "active")
class OBJECT_PT_transform(ObjectButtonsPanel, Panel):