[Bf-blender-cvs] [e631871461a] greasepencil-object: UI: Hide decorator icons

Antonio Vazquez noreply at git.blender.org
Tue Jun 19 16:16:23 CEST 2018


Commit: e631871461adae139dd18cd3dad90982282d16c6
Author: Antonio Vazquez
Date:   Tue Jun 19 16:16:16 2018 +0200
Branches: greasepencil-object
https://developer.blender.org/rBe631871461adae139dd18cd3dad90982282d16c6

UI: Hide decorator icons

This icons break the design of the panel

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

M	release/scripts/startup/bl_ui/properties_grease_pencil_common.py
M	release/scripts/startup/bl_ui/space_view3d_toolbar.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 6927605c99e..2db7a40c6d8 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -250,6 +250,7 @@ class GreasePencilStrokeSculptPanel:
     def draw(self, context):
         layout = self.layout
         layout.use_property_split = True
+        layout.use_property_decorate = False
 
         settings = context.tool_settings.gpencil_sculpt
         tool = settings.tool
@@ -261,6 +262,7 @@ class GreasePencilStrokeSculptPanel:
         row = layout.row(align=True)
         row.prop(brush, "strength", slider=True)
         row.prop(brush, "use_pressure_strength", text="")
+
         layout.prop(brush, "use_falloff")
 
         if tool in {'SMOOTH', 'RANDOMIZE'}:
@@ -843,6 +845,7 @@ class GreasePencilDataPanel:
     def draw(self, context):
         layout = self.layout
         layout.use_property_split = True
+        layout.use_property_decorate = False
 
         # owner of Grease Pencil data
         gpd_owner = context.gpencil_data_owner
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
index 2c14f77341c..c3f309b01c0 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -1374,6 +1374,7 @@ class VIEW3D_PT_tools_grease_pencil_brush(View3DPanel, Panel):
     def draw(self, context):
         layout = self.layout
         layout.use_property_split = True
+        layout.use_property_decorate = False
 
         ts = context.scene.tool_settings
         settings = ts.gpencil_paint



More information about the Bf-blender-cvs mailing list