diff options
Diffstat (limited to 'release/scripts/modules')
-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 |
3 files changed, 1 insertions, 4 deletions
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) |