Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/properties_data_armature.py
| Show First 20 Lines • Show All 59 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| layout.row().prop(arm, "pose_position", expand=True) | layout.row().prop(arm, "pose_position", expand=True) | ||||
| col = layout.column() | col = layout.column() | ||||
| col.label(text="Layers:") | col.label(text="Layers:") | ||||
| col.prop(arm, "layers", text="") | col.prop(arm, "layers", text="") | ||||
| col.label(text="Protected Layers:") | col.label(text="Protected Layers:") | ||||
| col.prop(arm, "layers_protected", text="") | col.prop(arm, "layers_protected", text="") | ||||
| if context.scene.render.engine == 'BLENDER_GAME': | if context.engine == 'BLENDER_GAME': | ||||
| col = layout.column() | col = layout.column() | ||||
| col.label(text="Deform:") | col.label(text="Deform:") | ||||
| col.prop(arm, "deform_method", expand=True) | col.prop(arm, "deform_method", expand=True) | ||||
| class DATA_PT_display(ArmatureButtonsPanel, Panel): | class DATA_PT_display(ArmatureButtonsPanel, Panel): | ||||
| bl_label = "Display" | bl_label = "Display" | ||||
| ▲ Show 20 Lines • Show All 276 Lines • Show Last 20 Lines | |||||