diff options
author | Antonioya <blendergit@gmail.com> | 2019-03-16 21:21:19 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-03-16 21:21:19 +0300 |
commit | 2d3fbadfe36d67596ffe04897c13ac88c1cd9ba6 (patch) | |
tree | 555d4aab1083536eeb0b326a4da31bb6d94866df | |
parent | 9a4192277bf84463860f8e887f06febebfe71d99 (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.
-rw-r--r-- | release/scripts/startup/bl_ui/properties_grease_pencil_common.py | 1 |
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: |