Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/properties_object.py
| Show All 34 Lines | class OBJECT_PT_context_object(ObjectButtonsPanel, Panel): | ||||
| def draw(self, context): | def draw(self, context): | ||||
| layout = self.layout | layout = self.layout | ||||
| space = context.space_data | space = context.space_data | ||||
| if space.use_pin_id: | if space.use_pin_id: | ||||
| layout.template_ID(space, "pin_id") | layout.template_ID(space, "pin_id") | ||||
| else: | else: | ||||
| row = layout.row() | row = layout.row() | ||||
| row.template_ID(context.scene.objects, "active") | row.template_ID(context.scene.objects, "active", filter='AVAILABLE') | ||||
| class OBJECT_PT_transform(ObjectButtonsPanel, Panel): | class OBJECT_PT_transform(ObjectButtonsPanel, Panel): | ||||
| bl_label = "Transform" | bl_label = "Transform" | ||||
| def draw(self, context): | def draw(self, context): | ||||
| layout = self.layout | layout = self.layout | ||||
| ▲ Show 20 Lines • Show All 337 Lines • Show Last 20 Lines | |||||