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.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user