Floor Constraint: Evaluation space options are now available for this constraint too

This commit is contained in:
Joshua Leung 2009-12-30 10:29:26 +00:00
parent 35d629c97b
commit a4913896b8

@ -37,8 +37,6 @@ class ConstraintButtonsPanel(bpy.types.Panel):
# match enum type to our functions, avoids a lookup table.
getattr(self, con.type)(context, box, con, wide_ui)
# show/key buttons here are most likely obsolete now, with
# keyframing functionality being part of every button
if con.type not in ('RIGID_BODY_JOINT', 'SPLINE_IK', 'NULL'):
box.prop(con, "influence")
@ -563,6 +561,8 @@ class ConstraintButtonsPanel(bpy.types.Panel):
row.label(text="Min/Max:")
row.prop(con, "floor_location", expand=True)
self.space_template(layout, con, wide_ui)
def RIGID_BODY_JOINT(self, context, layout, con, wide_ui):
self.target_template(layout, con, wide_ui)