[Bf-blender-cvs] [3562be2bdaa] master: UI: Cycles: Use Split layout for object motion blur
Aaron Carlisle
noreply at git.blender.org
Tue Jun 30 19:23:52 CEST 2020
Commit: 3562be2bdaacb6db37da38b2269fb56d2d838261
Author: Aaron Carlisle
Date: Tue Jun 30 13:22:43 2020 -0400
Branches: master
https://developer.blender.org/rB3562be2bdaacb6db37da38b2269fb56d2d838261
UI: Cycles: Use Split layout for object motion blur
===================================================================
M intern/cycles/blender/addon/ui.py
===================================================================
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index 736d16ea8c5..b049d0bf2b4 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -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):
More information about the Bf-blender-cvs
mailing list