diff options
5 files changed, 2 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py index 7ea1eb4a89d..64a68e41e13 100644 --- a/release/scripts/startup/bl_operators/wm.py +++ b/release/scripts/startup/bl_operators/wm.py @@ -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 diff --git a/release/scripts/startup/bl_ui/properties_freestyle.py b/release/scripts/startup/bl_ui/properties_freestyle.py index 7b656f9be81..5260b7f371e 100644 --- a/release/scripts/startup/bl_ui/properties_freestyle.py +++ b/release/scripts/startup/bl_ui/properties_freestyle.py @@ -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) 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 72d8a53dd69..373e3797f71 100644 --- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py +++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py @@ -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) diff --git a/release/scripts/startup/bl_ui/properties_render.py b/release/scripts/startup/bl_ui/properties_render.py index bd5d926d4cd..06e3afcf5be 100644 --- a/release/scripts/startup/bl_ui/properties_render.py +++ b/release/scripts/startup/bl_ui/properties_render.py @@ -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="") diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index 41f1a64ca51..f868404cd2f 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -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() |