forked from bartvdbraak/blender
Cleanup: unused imports
This commit is contained in:
parent
9dc0c44aa1
commit
37793b90be
@ -22,8 +22,6 @@
|
||||
# XXX: This script is meant to be used from inside Blender!
|
||||
# You should not directly use this script, rather use update_msg.py!
|
||||
|
||||
import collections
|
||||
import copy
|
||||
import datetime
|
||||
import os
|
||||
import re
|
||||
|
@ -21,12 +21,9 @@
|
||||
# Some misc utilities...
|
||||
|
||||
import collections
|
||||
import copy
|
||||
import hashlib
|
||||
import os
|
||||
import re
|
||||
import struct
|
||||
import sys
|
||||
import tempfile
|
||||
#import time
|
||||
|
||||
|
@ -32,7 +32,6 @@
|
||||
# \", %s, %x12, %.4f, etc.), protecting them from ugly (evil) fribidi,
|
||||
# which seems completely unaware of such things (as unicode is...).
|
||||
|
||||
import sys
|
||||
import ctypes
|
||||
import re
|
||||
|
||||
|
@ -32,7 +32,6 @@ __all__ = (
|
||||
import bpy
|
||||
|
||||
from bpy.props import (
|
||||
BoolProperty,
|
||||
FloatVectorProperty,
|
||||
EnumProperty,
|
||||
)
|
||||
@ -50,7 +49,7 @@ def add_object_align_init(context, operator):
|
||||
:rtype: :class:`mathutils.Matrix`
|
||||
"""
|
||||
|
||||
from mathutils import Matrix, Vector, Euler
|
||||
from mathutils import Matrix, Vector
|
||||
properties = operator.properties if operator is not None else None
|
||||
|
||||
space_data = context.space_data
|
||||
|
@ -19,7 +19,6 @@
|
||||
# <pep8-80 compliant>
|
||||
|
||||
from _bpy import types as bpy_types
|
||||
import _bpy
|
||||
|
||||
StructRNA = bpy_types.bpy_struct
|
||||
StructMetaPropGroup = bpy_types.bpy_struct_meta_idprop
|
||||
|
@ -22,7 +22,6 @@ from bpy.app.handlers import persistent
|
||||
|
||||
@persistent
|
||||
def load_handler(dummy):
|
||||
import os
|
||||
from bpy import context
|
||||
screen = context.screen
|
||||
for area in screen.areas:
|
||||
|
@ -19,7 +19,6 @@
|
||||
|
||||
# <pep8-80 compliant>
|
||||
|
||||
import bpy
|
||||
from bpy.types import Operator
|
||||
from mathutils import Vector
|
||||
|
||||
|
@ -25,7 +25,6 @@ from bpy.props import (
|
||||
BoolProperty,
|
||||
EnumProperty,
|
||||
FloatProperty,
|
||||
FloatVectorProperty,
|
||||
IntProperty,
|
||||
)
|
||||
|
||||
|
@ -18,7 +18,6 @@
|
||||
|
||||
# <pep8 compliant>
|
||||
|
||||
import bpy
|
||||
from bpy.types import Operator
|
||||
|
||||
from bpy.props import (
|
||||
|
@ -17,9 +17,7 @@
|
||||
# ##### END GPL LICENSE BLOCK #####
|
||||
|
||||
# <pep8 compliant>
|
||||
import bpy
|
||||
from bpy.types import Panel
|
||||
from bpy.app.translations import pgettext_iface as iface_
|
||||
|
||||
|
||||
class ModifierButtonsPanel:
|
||||
|
@ -19,7 +19,7 @@
|
||||
# <pep8 compliant>
|
||||
|
||||
import bpy
|
||||
from bpy.types import Menu, Panel
|
||||
from bpy.types import Panel
|
||||
from bl_ui.utils import PresetPanel
|
||||
from .properties_physics_common import (
|
||||
effector_weights_ui,
|
||||
|
@ -19,10 +19,6 @@
|
||||
# <pep8 compliant>
|
||||
import bpy
|
||||
from bpy.types import Header, Menu, Panel
|
||||
from bpy.app.translations import (
|
||||
contexts as i18n_contexts,
|
||||
pgettext_iface as iface_,
|
||||
)
|
||||
|
||||
|
||||
class OUTLINER_HT_header(Header):
|
||||
|
Loading…
Reference in New Issue
Block a user