pep8, whitespace edits
This commit is contained in:
@@ -739,7 +739,7 @@ class ConstraintButtonsPanel(bpy.types.Panel):
|
||||
else:
|
||||
col = layout.column()
|
||||
col.prop(con, "use_relative_position")
|
||||
if con.use_relative_position:
|
||||
if con.use_relative_position:
|
||||
col.prop(con, "offset", text="Relative Pivot Point")
|
||||
else:
|
||||
col.prop(con, "offset", text="Absolute Pivot Point")
|
||||
@@ -747,6 +747,7 @@ class ConstraintButtonsPanel(bpy.types.Panel):
|
||||
col = layout.column()
|
||||
col.prop(con, "enabled_rotation_range", text="Pivot When")
|
||||
|
||||
|
||||
class OBJECT_PT_constraints(ConstraintButtonsPanel):
|
||||
bl_label = "Object Constraints"
|
||||
bl_context = "constraint"
|
||||
|
||||
Reference in New Issue
Block a user