Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/properties_scene.py
| Show First 20 Lines • Show All 86 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| col = layout.column() | col = layout.column() | ||||
| col.prop(unit, "system_rotation", text="Rotation") | col.prop(unit, "system_rotation", text="Rotation") | ||||
| subcol = col.column() | subcol = col.column() | ||||
| subcol.enabled = unit.system != 'NONE' | subcol.enabled = unit.system != 'NONE' | ||||
| subcol.prop(unit, "length_unit", text="Length") | subcol.prop(unit, "length_unit", text="Length") | ||||
| subcol.prop(unit, "mass_unit", text="Mass") | subcol.prop(unit, "mass_unit", text="Mass") | ||||
| subcol.prop(unit, "time_unit", text="Time") | subcol.prop(unit, "time_unit", text="Time") | ||||
| subcol.prop(unit, "temperature_unit", text="Temperature") | |||||
| layout.prop(unit, "temperature_test", text="Temperature") | |||||
brecht: Is `temperature_test` debug code? | |||||
HooglyBooglyAuthorUnsubmitted Done Inline ActionsYep, just to have a button to test with. HooglyBoogly: Yep, just to have a button to test with. | |||||
| class SceneKeyingSetsPanel: | class SceneKeyingSetsPanel: | ||||
| @staticmethod | @staticmethod | ||||
| def draw_keyframing_settings(context, layout, ks, ksp): | def draw_keyframing_settings(context, layout, ks, ksp): | ||||
| SceneKeyingSetsPanel._draw_keyframing_setting( | SceneKeyingSetsPanel._draw_keyframing_setting( | ||||
| context, layout, ks, ksp, "Needed", | context, layout, ks, ksp, "Needed", | ||||
| ▲ Show 20 Lines • Show All 337 Lines • Show Last 20 Lines | |||||
Is temperature_test debug code?