[Bf-blender-cvs] [cfeadaa2959] master: Fix Mesh Filter deformation axis UI layout
Pablo Dobarro
noreply at git.blender.org
Tue Aug 18 12:33:16 CEST 2020
Commit: cfeadaa2959408f5bfaf8ba809cec8137ece9c29
Author: Pablo Dobarro
Date: Tue Aug 18 12:32:42 2020 +0200
Branches: master
https://developer.blender.org/rBcfeadaa2959408f5bfaf8ba809cec8137ece9c29
Fix Mesh Filter deformation axis UI layout
This uses a single row for the three axis instead of a row per axis.
Reviewed By: sergey, Severin
Differential Revision: https://developer.blender.org/D8581
===================================================================
M release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
index 38879d41a64..666a0d70970 100644
--- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
@@ -1260,7 +1260,8 @@ class _defs_sculpt:
props = tool.operator_properties("sculpt.mesh_filter")
layout.prop(props, "type", expand=False)
layout.prop(props, "strength")
- layout.prop(props, "deform_axis")
+ row = layout.row(align=True)
+ row.prop(props, "deform_axis")
layout.prop(props, "use_face_sets")
if props.type == 'SURFACE_SMOOTH':
layout.prop(props, "surface_smooth_shape_preservation", expand=False)
More information about the Bf-blender-cvs
mailing list