UI: Cycles: Use Split layout for object motion blur
This commit is contained in:
parent
db7d370657
commit
3562be2bda
|
@ -1202,6 +1202,7 @@ class CYCLES_OBJECT_PT_motion_blur(CyclesButtonsPanel, Panel):
|
|||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
layout.use_property_split = True
|
||||
|
||||
rd = context.scene.render
|
||||
# scene = context.scene
|
||||
|
@ -1211,10 +1212,10 @@ class CYCLES_OBJECT_PT_motion_blur(CyclesButtonsPanel, Panel):
|
|||
|
||||
layout.active = (rd.use_motion_blur and cob.use_motion_blur)
|
||||
|
||||
row = layout.row()
|
||||
col = layout.column()
|
||||
col.prop(cob, "motion_steps", text="Steps")
|
||||
if ob.type != 'CAMERA':
|
||||
row.prop(cob, "use_deform_motion", text="Deformation")
|
||||
row.prop(cob, "motion_steps", text="Steps")
|
||||
col.prop(cob, "use_deform_motion", text="Deformation")
|
||||
|
||||
|
||||
def has_geometry_visibility(ob):
|
||||
|
|
Loading…
Reference in New Issue