[Bf-blender-cvs] [fcac3d04f55] master: Fix T85850: GPencil Interpolate tool panel wrongly aligned

Antonio Vazquez noreply at git.blender.org
Mon Feb 22 16:12:52 CET 2021


Commit: fcac3d04f5507f8fa5440f89be3025f926a2a2fc
Author: Antonio Vazquez
Date:   Mon Feb 22 16:12:40 2021 +0100
Branches: master
https://developer.blender.org/rBfcac3d04f5507f8fa5440f89be3025f926a2a2fc

Fix T85850: GPencil Interpolate tool panel wrongly aligned

The layout was wrong.

===================================================================

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 75bca09a044..8e99c3af4c3 100644
--- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
@@ -2039,11 +2039,10 @@ class _defs_gpencil_paint:
     def interpolate():
         def draw_settings(context, layout, tool):
             props = tool.operator_properties("gpencil.interpolate")
-            row = layout.row()
-            row.prop(props, "layers")
-            row.prop(props, "flip")
-            row.prop(props, "smooth_factor")
-            row.prop(props, "smooth_steps")
+            layout.prop(props, "layers")
+            layout.prop(props, "flip")
+            layout.prop(props, "smooth_factor")
+            layout.prop(props, "smooth_steps")
 
         return dict(
             idname="builtin.interpolate",
@@ -2222,12 +2221,11 @@ class _defs_gpencil_edit:
     def interpolate():
         def draw_settings(context, layout, tool):
             props = tool.operator_properties("gpencil.interpolate")
-            row = layout.row()
-            row.prop(props, "layers")
-            row.prop(props, "interpolate_selected_only")
-            row.prop(props, "flip")
-            row.prop(props, "smooth_factor")
-            row.prop(props, "smooth_steps")
+            layout.prop(props, "layers")
+            layout.prop(props, "interpolate_selected_only")
+            layout.prop(props, "flip")
+            layout.prop(props, "smooth_factor")
+            layout.prop(props, "smooth_steps")
 
         return dict(
             idname="builtin.interpolate",



More information about the Bf-blender-cvs mailing list