[Bf-blender-cvs] [2d3fbadfe36] master: GPencil: Fix layers topbar panel
Antonioya
noreply at git.blender.org
Sat Mar 16 19:21:26 CET 2019
Commit: 2d3fbadfe36d67596ffe04897c13ac88c1cd9ba6
Author: Antonioya
Date: Sat Mar 16 19:21:19 2019 +0100
Branches: master
https://developer.blender.org/rB2d3fbadfe36d67596ffe04897c13ac88c1cd9ba6
GPencil: Fix layers topbar panel
After a previous commit to fix the pin panels, this line was not working as expected. As this variable is not used, the line can be removed.
===================================================================
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 774947654d1..ed75e212444 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -885,7 +885,6 @@ class GPENCIL_UL_layer(UIList):
def draw_item(self, context, layout, data, item, icon, active_data, active_propname, index):
# assert(isinstance(item, bpy.types.GPencilLayer)
gpl = item
- gpd = context.gpencil
if self.layout_type in {'DEFAULT', 'COMPACT'}:
if gpl.lock:
More information about the Bf-blender-cvs
mailing list