Cleanup: unused imports

This commit is contained in:
Campbell Barton
2019-03-15 19:45:21 +11:00
parent f29b80ff79
commit 41b289be30
5 changed files with 1 additions and 6 deletions

View File

@@ -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

View File

@@ -100,7 +100,6 @@ class AppOverrideState:
def _setup_addons(self):
import sys
import os
sys_path = []
if self.addon_paths is not None:

View File

@@ -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))

View File

@@ -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)

View File

@@ -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):