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:
authorCampbell Barton <ideasman42@gmail.com>2018-09-11 11:15:55 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-09-11 11:15:55 +0300
commitb05f9e35cbc919c5b98e77bd8e52fc959f3fdd88 (patch)
tree38166840f07a713e7246480aebd038b15dc5f95b /release/scripts/startup/bl_ui/properties_grease_pencil_common.py
parent29fa45b695b3d851a33e76ff5904150f63c231b9 (diff)
Cleanup: unused variables
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_grease_pencil_common.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_grease_pencil_common.py3
1 files changed, 0 insertions, 3 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 71688fc7c65..3671fcf3d68 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -587,7 +587,6 @@ class GPENCIL_MT_gpencil_draw_specials(Menu):
def draw(self, context):
layout = self.layout
- is_3d_view = context.space_data.type == 'VIEW_3D'
layout.operator_context = 'INVOKE_REGION_WIN'
@@ -605,7 +604,6 @@ class GPENCIL_MT_gpencil_draw_delete(Menu):
def draw(self, context):
layout = self.layout
- is_3d_view = context.space_data.type == 'VIEW_3D'
layout.operator_context = 'INVOKE_REGION_WIN'
@@ -631,7 +629,6 @@ class GPENCIL_UL_annotation_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_data
if self.layout_type in {'DEFAULT', 'COMPACT'}:
if gpl.lock: