Cleanup: remove unused imports
This commit is contained in:
@@ -40,7 +40,6 @@
|
||||
#
|
||||
######################################################
|
||||
|
||||
import struct
|
||||
import sys
|
||||
from string import Template # strings completion
|
||||
|
||||
|
||||
@@ -154,7 +154,6 @@ def unregister():
|
||||
from . import operators
|
||||
from . import properties
|
||||
from . import presets
|
||||
import atexit
|
||||
|
||||
bpy.app.handlers.version_update.remove(version_update.do_versions)
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ import contextlib
|
||||
from typing import Iterable, Optional, Union, Any, TypeAlias, Iterator
|
||||
|
||||
import bpy
|
||||
from bpy.types import Context, Object, Operator, Panel, PoseBone, UILayout, FCurve, Camera, FModifierStepped
|
||||
from bpy.types import Context, Object, Operator, Panel, PoseBone, UILayout, Camera
|
||||
from mathutils import Matrix
|
||||
|
||||
|
||||
|
||||
@@ -899,7 +899,7 @@ def blen_read_animations_action_item(action, item, cnodes, fps, anim_offset, glo
|
||||
'Bake' loc/rot/scale into the action,
|
||||
taking any pre_ and post_ matrix into account to transform from fbx into blender space.
|
||||
"""
|
||||
from bpy.types import Object, PoseBone, ShapeKey, Material, Camera
|
||||
from bpy.types import ShapeKey, Material, Camera
|
||||
|
||||
fbx_curves: dict[bytes, dict[int, FBXElem]] = {}
|
||||
for curves, fbxprop in cnodes.values():
|
||||
|
||||
@@ -28,7 +28,6 @@ def set_view3d_context_override(context_override):
|
||||
|
||||
def prepare_sculpt_scene(context):
|
||||
import bpy
|
||||
from mathutils import Vector
|
||||
"""
|
||||
Prepare a clean state of the scene suitable for benchmarking
|
||||
|
||||
|
||||
@@ -14,8 +14,6 @@ from pxr import Sdf
|
||||
|
||||
import bpy
|
||||
|
||||
from mathutils import Matrix, Vector, Quaternion, Euler
|
||||
|
||||
args = None
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user