[Bf-blender-cvs] [82ecee0a7ba] greasepencil-object: Small UI Fixes

Joshua Leung noreply at git.blender.org
Thu Jun 21 16:19:23 CEST 2018


Commit: 82ecee0a7ba366d83374897b6303663e5e85bc43
Author: Joshua Leung
Date:   Fri Jun 22 02:18:23 2018 +1200
Branches: greasepencil-object
https://developer.blender.org/rB82ecee0a7ba366d83374897b6303663e5e85bc43

Small UI Fixes

* Fixed comment about the "Surface" panel. It's used after all
  (as a parent for two others). Adjusted comment to make that
  more obvious.

* Don't show decorators on the Parent Relations panel.
  None of those settings should be driven/animated.
  Maybe we put it back for overrides later though?

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

M	release/scripts/startup/bl_ui/properties_data_gpencil.py
M	release/scripts/startup/bl_ui/properties_material_gpencil.py

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

diff --git a/release/scripts/startup/bl_ui/properties_data_gpencil.py b/release/scripts/startup/bl_ui/properties_data_gpencil.py
index 008acf52b2a..f33220c7bc0 100644
--- a/release/scripts/startup/bl_ui/properties_data_gpencil.py
+++ b/release/scripts/startup/bl_ui/properties_data_gpencil.py
@@ -163,6 +163,7 @@ class DATA_PT_gpencil_parentpanel(LayerDataButtonsPanel, Panel):
     def draw(self, context):
         layout = self.layout
         layout.use_property_split = True
+        layout.use_property_decorate = False
 
         gpl = context.active_gpencil_layer
         col = layout.column(align=True)
diff --git a/release/scripts/startup/bl_ui/properties_material_gpencil.py b/release/scripts/startup/bl_ui/properties_material_gpencil.py
index b68e5a5c609..1fd8350de5d 100644
--- a/release/scripts/startup/bl_ui/properties_material_gpencil.py
+++ b/release/scripts/startup/bl_ui/properties_material_gpencil.py
@@ -158,7 +158,7 @@ class MATERIAL_PT_gpencil_slots(Panel):
             split.separator()
 
 
-# XXX: Why is this panel here? Remove?
+# Used as parent for "Stroke" and "Fill" panels
 class MATERIAL_PT_gpencil_surface(GPMaterialButtonsPanel, Panel):
     bl_label = "Surface"



More information about the Bf-blender-cvs mailing list