Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/properties_data_bone.py
| Show First 20 Lines • Show All 187 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| row = col.row() | row = col.row() | ||||
| sub = row.column(align=True) | sub = row.column(align=True) | ||||
| sub.label(text="Scale:") | sub.label(text="Scale:") | ||||
| sub.prop(bbone, "bbone_scalein", text="Scale In") | sub.prop(bbone, "bbone_scalein", text="Scale In") | ||||
| sub.prop(bbone, "bbone_scaleout", text="Scale Out") | sub.prop(bbone, "bbone_scaleout", text="Scale Out") | ||||
| sub = row.column(align=True) | sub = row.column(align=True) | ||||
| sub.label("Easing:") | sub.label("Easing:") | ||||
| if pchan: | sub.prop(bbone, "bbone_easein", text="Ease In") | ||||
| # XXX: have these also be an overlay? | sub.prop(bbone, "bbone_easeout", text="Ease Out") | ||||
| sub.prop(bbone.bone, "bbone_in", text="Ease In") | |||||
| sub.prop(bbone.bone, "bbone_out", text="Ease Out") | |||||
| else: | |||||
| sub.prop(bone, "bbone_in", text="Ease In") | |||||
| sub.prop(bone, "bbone_out", text="Ease Out") | |||||
| if pchan: | if pchan: | ||||
| layout.separator() | layout.separator() | ||||
| col = layout.column() | col = layout.column() | ||||
| col.prop(pchan, "use_bbone_custom_handles") | col.prop(pchan, "use_bbone_custom_handles") | ||||
| row = col.row() | row = col.row() | ||||
| ▲ Show 20 Lines • Show All 258 Lines • Show Last 20 Lines | |||||