2.5 - Made more operators for constraint buttons
* Move Up/Down and Delete are now operators * Made TrackTo constraint use expanded enum toggles for up axis too. --> BUG ALERT: specifying name and expand in the arguments to itemR doesn't work (name gets skipped)
This commit is contained in:
@@ -109,7 +109,6 @@ class ConstraintButtonsPanel(bpy.types.Panel):
|
||||
sub.itemR(con, "sizey", text="Y")
|
||||
sub.itemR(con, "sizez", text="Z")
|
||||
|
||||
# Missing
|
||||
row = layout.row()
|
||||
row.itemO("CONSTRAINT_OT_childof_set_inverse")
|
||||
row.itemO("CONSTRAINT_OT_childof_clear_inverse")
|
||||
@@ -122,6 +121,7 @@ class ConstraintButtonsPanel(bpy.types.Panel):
|
||||
row.itemR(con, "track", expand=True)
|
||||
|
||||
row = layout.row()
|
||||
#row.itemR(con, "up", text="Up", expand=True) # XXX: up and expand don't play nice together
|
||||
row.itemR(con, "up", text="Up")
|
||||
row.itemR(con, "target_z")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user