Cleanup: unused imports
This commit is contained in:
@@ -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
|
||||
|
||||
|
@@ -100,7 +100,6 @@ class AppOverrideState:
|
||||
|
||||
def _setup_addons(self):
|
||||
import sys
|
||||
import os
|
||||
|
||||
sys_path = []
|
||||
if self.addon_paths is not None:
|
||||
|
@@ -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))
|
||||
|
@@ -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)
|
||||
|
@@ -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):
|
||||
|
Reference in New Issue
Block a user