diff options
-rw-r--r-- | intern/cycles/app/io_export_cycles_xml.py | 1 | ||||
-rw-r--r-- | release/scripts/modules/bl_app_override/helpers.py | 1 | ||||
-rw-r--r-- | release/scripts/modules/bpy_extras/mesh_utils.py | 1 | ||||
-rw-r--r-- | release/scripts/modules/rna_info.py | 3 | ||||
-rw-r--r-- | release/scripts/templates_py/ui_tool_simple.py | 1 |
5 files changed, 1 insertions, 6 deletions
diff --git a/intern/cycles/app/io_export_cycles_xml.py b/intern/cycles/app/io_export_cycles_xml.py index 437a504d014..a1b42f72f7c 100644 --- a/intern/cycles/app/io_export_cycles_xml.py +++ b/intern/cycles/app/io_export_cycles_xml.py @@ -16,7 +16,6 @@ # XML exporter for generating test files, not intended for end users -import os import xml.etree.ElementTree as etree import xml.dom.minidom as dom diff --git a/release/scripts/modules/bl_app_override/helpers.py b/release/scripts/modules/bl_app_override/helpers.py index 981039e8ddc..a6f67f2d435 100644 --- a/release/scripts/modules/bl_app_override/helpers.py +++ b/release/scripts/modules/bl_app_override/helpers.py @@ -100,7 +100,6 @@ class AppOverrideState: def _setup_addons(self): import sys - import os sys_path = [] if self.addon_paths is not None: diff --git a/release/scripts/modules/bpy_extras/mesh_utils.py b/release/scripts/modules/bpy_extras/mesh_utils.py index e76d1f1815e..98ddc731028 100644 --- a/release/scripts/modules/bpy_extras/mesh_utils.py +++ b/release/scripts/modules/bpy_extras/mesh_utils.py @@ -443,7 +443,6 @@ def triangle_random_points(num_points, loop_triangles): """ from random import random - from mathutils.geometry import area_tri # For each triangle, generate the required number of random points sampled_points = [None] * (num_points * len(loop_triangles)) diff --git a/release/scripts/modules/rna_info.py b/release/scripts/modules/rna_info.py index 4a2b1085143..6f51dcf3aeb 100644 --- a/release/scripts/modules/rna_info.py +++ b/release/scripts/modules/rna_info.py @@ -756,8 +756,7 @@ def BuildRNAInfo(): def main(): - import rna_info - struct = rna_info.BuildRNAInfo()[0] + struct = BuildRNAInfo()[0] data = [] for _struct_id, v in sorted(struct.items()): struct_id_str = v.identifier # "".join(sid for sid in struct_id if struct_id) diff --git a/release/scripts/templates_py/ui_tool_simple.py b/release/scripts/templates_py/ui_tool_simple.py index 9cd71d0160c..afda5088e69 100644 --- a/release/scripts/templates_py/ui_tool_simple.py +++ b/release/scripts/templates_py/ui_tool_simple.py @@ -1,7 +1,6 @@ # This example adds an object mode tool to the toolbar. # This is just the circle-select and lasso tools tool. import bpy -from bpy.utils.toolsystem import ToolDef from bpy.types import WorkSpaceTool class MyTool(WorkSpaceTool): |