Cleanup: unused variables
This commit is contained in:
parent
0276e0e7de
commit
bf8aac0d49
|
@ -2266,7 +2266,6 @@ class WM_OT_app_template_install(Operator):
|
|||
def execute(self, context):
|
||||
import traceback
|
||||
import zipfile
|
||||
import shutil
|
||||
import os
|
||||
|
||||
filepath = self.filepath
|
||||
|
|
|
@ -153,7 +153,7 @@ class RENDERLAYER_PT_freestyle(RenderLayerFreestyleButtonsPanel, Panel):
|
|||
row = layout.row()
|
||||
row.label("Style modules:")
|
||||
row.operator("scene.freestyle_module_add", text="Add")
|
||||
for i, module in enumerate(freestyle.modules):
|
||||
for module in freestyle.modules:
|
||||
box = layout.box()
|
||||
box.context_pointer_set("freestyle_module", module)
|
||||
row = box.row(align=True)
|
||||
|
|
|
@ -545,7 +545,7 @@ class GPENCIL_MT_pie_settings_palette(Menu):
|
|||
gpd = context.gpencil_data
|
||||
gpl = context.active_gpencil_layer
|
||||
palcolor = context.active_gpencil_palettecolor
|
||||
brush = context.active_gpencil_brush
|
||||
# brush = context.active_gpencil_brush
|
||||
|
||||
is_editmode = bool(gpd and gpd.use_stroke_edit_mode and context.editable_gpencil_strokes)
|
||||
|
||||
|
|
|
@ -392,7 +392,6 @@ class RENDER_PT_output(RenderButtonsPanel, Panel):
|
|||
|
||||
rd = context.scene.render
|
||||
image_settings = rd.image_settings
|
||||
file_format = image_settings.file_format
|
||||
|
||||
layout.prop(rd, "filepath", text="")
|
||||
|
||||
|
|
|
@ -1808,7 +1808,6 @@ class VIEW3D_PT_tools_vertexpaint(Panel, View3DPaintPanel):
|
|||
layout = self.layout
|
||||
|
||||
toolsettings = context.tool_settings
|
||||
vpaint = toolsettings.vertex_paint
|
||||
|
||||
col = layout.column()
|
||||
|
||||
|
|
Loading…
Reference in New Issue