Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2019-03-16 21:21:19 +0300
committerAntonioya <blendergit@gmail.com>2019-03-16 21:21:19 +0300
commit2d3fbadfe36d67596ffe04897c13ac88c1cd9ba6 (patch)
tree555d4aab1083536eeb0b326a4da31bb6d94866df /release
parent9a4192277bf84463860f8e887f06febebfe71d99 (diff)
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.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/properties_grease_pencil_common.py1
1 files changed, 0 insertions, 1 deletions
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: