[Bf-blender-cvs] [252460b50ab] greasepencil-object: GP: Change Thickness Profile panel

Antonioya noreply at git.blender.org
Mon Dec 10 22:22:09 CET 2018


Commit: 252460b50ab63e6fda357be0ec666478599bdf2f
Author: Antonioya
Date:   Mon Dec 10 22:21:59 2018 +0100
Branches: greasepencil-object
https://developer.blender.org/rB252460b50ab63e6fda357be0ec666478599bdf2f

GP: Change Thickness Profile panel

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

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

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

diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py
index 52829c3c9c4..55ce35b2f7c 100644
--- a/release/scripts/startup/bl_ui/space_topbar.py
+++ b/release/scripts/startup/bl_ui/space_topbar.py
@@ -383,7 +383,7 @@ class _draw_left_context_mode:
                     sub.active = settings.use_thickness_curve
                     sub.popover(
                         panel="TOPBAR_PT_gpencil_primitive",
-                        text="Curve"
+                        text="Thickness Profile"
                     )
 
         @staticmethod
@@ -1053,12 +1053,8 @@ class TOPBAR_PT_gpencil_primitive(Panel):
         settings = context.tool_settings.gpencil_sculpt
 
         layout = self.layout
-        col = layout.column(align=True)
-        col.prop(settings, "use_thickness_curve")
-
         # Curve
-        if settings.use_thickness_curve:
-            layout.template_curve_mapping(settings, "thickness_primitive_curve", brush=True)
+        layout.template_curve_mapping(settings, "thickness_primitive_curve", brush=True)
 
 
 classes = (



More information about the Bf-blender-cvs mailing list