diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-11 11:15:55 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-11 11:15:55 +0300 |
commit | b05f9e35cbc919c5b98e77bd8e52fc959f3fdd88 (patch) | |
tree | 38166840f07a713e7246480aebd038b15dc5f95b /release/scripts/startup/bl_ui/properties_grease_pencil_common.py | |
parent | 29fa45b695b3d851a33e76ff5904150f63c231b9 (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.py | 3 |
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: |