UI: Cycles: Use Split layout for object motion blur

This commit is contained in:
Aaron Carlisle 2020-06-30 13:22:43 -04:00
parent db7d370657
commit 3562be2bda
1 changed files with 4 additions and 3 deletions

View File

@ -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):