[Bf-blender-cvs] [04f25532ed3] greasepencil-object: Code Cleanup

Joshua Leung noreply at git.blender.org
Mon Sep 25 14:16:19 CEST 2017


Commit: 04f25532ed36b2fbebb82559591d551ac9acea4d
Author: Joshua Leung
Date:   Fri Sep 22 11:03:26 2017 +1200
Branches: greasepencil-object
https://developer.blender.org/rB04f25532ed36b2fbebb82559591d551ac9acea4d

Code Cleanup

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

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 bca4c033c78..6ed3efaa51d 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -1379,6 +1379,7 @@ class GreasePencilParentLayerPanel:
         if parent and gpl.parent_type == 'BONE' and parent.type == 'ARMATURE':
             sub.prop_search(gpl, "parent_bone", parent.data, "bones", text="")
 
+
 class GPENCIL_UL_vgroups(UIList):
     def draw_item(self, context, layout, data, item, icon, active_data, active_propname, index):
         # assert(isinstance(item, bpy.types.VertexGroup))
@@ -1391,6 +1392,7 @@ class GPENCIL_UL_vgroups(UIList):
             layout.alignment = 'CENTER'
             layout.label(text="", icon_value=icon)
 
+
 class GreasePencilVertexGroupPanel:
     bl_label = "Vertex Groups"
     bl_region_type = 'UI'
@@ -1480,6 +1482,8 @@ class GreasePencilInfoPanel:
         col.label(str(gpd.info_total_palettes))
 
 
+###############################
+
 class GreasePencilPaletteColorPanel:
     # subclass must set
     bl_label = "Grease Pencil Colors"
@@ -1724,6 +1728,8 @@ class GreasePencilPaletteFillPanel:
             subcol.prop(pcolor, "texture_opacity")
 
 
+###############################
+
 class GreasePencilToolsPanel:
     # For use in "2D" Editors without their own toolbar
     # subclass must set
@@ -1762,6 +1768,7 @@ class GreasePencilToolsPanel:
 
         gpencil_stroke_placement_settings(context, layout)
 
+###############################
 
 classes = (
     GPENCIL_MT_pie_tool_palette,



More information about the Bf-blender-cvs mailing list