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