[Bf-blender-cvs] [d3834fef650] greasepencil-object: UI: Move Lazy Mouse options to Stroke panel

Antonio Vazquez noreply at git.blender.org
Sat Jan 27 13:44:58 CET 2018


Commit: d3834fef65079a54a6ed5fe876f5808e277976ad
Author: Antonio Vazquez
Date:   Sat Jan 27 13:44:47 2018 +0100
Branches: greasepencil-object
https://developer.blender.org/rBd3834fef65079a54a6ed5fe876f5808e277976ad

UI: Move Lazy Mouse options to Stroke panel

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

M	release/scripts/startup/bl_ui/properties_grease_pencil_common.py

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

diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
index 10c5f168c1a..bb783facee0 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -409,15 +409,6 @@ class GreasePencilBrushPanel:
             row = layout.row(align=False)
             row.prop(context.tool_settings, "use_gpencil_draw_onback", text="Draw on Back")
 
-            if brush.fill_only is False:
-                row = layout.row(align=True)
-                row.prop(brush, "use_lazy_mouse", text="Lazy Mouse")
-                if brush.use_lazy_mouse:
-                    row = layout.row(align=True)
-                    row.prop(brush, "lazy_radius")
-                    row = layout.row(align=True)
-                    row.prop(brush, "lazy_factor", slider=True)
-
 
 class GreasePencilBrushOptionsPanel:
     # subclass must set
@@ -472,6 +463,16 @@ class GreasePencilBrushOptionsPanel:
             row.prop(brush, "angle", slider=True)
             row.prop(brush, "angle_factor", text="Factor", slider=True)
 
+            if brush.fill_only is False:
+                row.separator()
+                row = layout.row(align=True)
+                row.prop(brush, "use_lazy_mouse", text="Lazy Mouse")
+                if brush.use_lazy_mouse:
+                    row = layout.row(align=True)
+                    row.prop(brush, "lazy_radius")
+                    row = layout.row(align=True)
+                    row.prop(brush, "lazy_factor", slider=True)
+
 
 class GreasePencilStrokeSculptPanel:
     # subclass must set



More information about the Bf-blender-cvs mailing list