forked from bartvdbraak/blender
Cleanup: unused imports
This commit is contained in:
parent
a19e78aa2d
commit
ad9addbf46
@ -57,7 +57,6 @@
|
||||
|
||||
import struct
|
||||
import sys
|
||||
import getopt # command line arguments handling
|
||||
from string import Template # strings completion
|
||||
|
||||
|
||||
|
@ -6,7 +6,6 @@ Example of using the blf module. For this module to work we
|
||||
need to use the OpenGL wrapper :class:`~bgl` as well.
|
||||
"""
|
||||
# import stand alone modules
|
||||
import bgl
|
||||
import blf
|
||||
import bpy
|
||||
|
||||
|
@ -7,7 +7,6 @@ object, placing it into a view layer, selecting it and making it active.
|
||||
"""
|
||||
|
||||
import bpy
|
||||
from mathutils import Matrix
|
||||
|
||||
view_layer = bpy.context.view_layer
|
||||
|
||||
|
@ -33,7 +33,6 @@ import bpy
|
||||
|
||||
from bpy.props import (
|
||||
BoolProperty,
|
||||
BoolVectorProperty,
|
||||
FloatVectorProperty,
|
||||
)
|
||||
|
||||
|
@ -34,7 +34,6 @@ def batch_for_shader(shader, type, content, indices=None):
|
||||
:return: compatible batch
|
||||
:rtype: :class:`gpu.types.Batch`
|
||||
"""
|
||||
import gpu
|
||||
from gpu.types import (
|
||||
GPUBatch,
|
||||
GPUIndexBuf,
|
||||
|
@ -19,8 +19,15 @@
|
||||
# <pep8 compliant>
|
||||
|
||||
import bpy
|
||||
from bpy.types import Menu, Operator, Panel, WindowManager
|
||||
from bpy.props import StringProperty, BoolProperty
|
||||
from bpy.types import (
|
||||
Menu,
|
||||
Operator,
|
||||
WindowManager,
|
||||
)
|
||||
from bpy.props import (
|
||||
BoolProperty,
|
||||
StringProperty,
|
||||
)
|
||||
|
||||
# For preset popover menu
|
||||
WindowManager.preset_name = StringProperty(
|
||||
|
@ -3,8 +3,6 @@
|
||||
|
||||
import argparse
|
||||
import os
|
||||
import shlex
|
||||
import shutil
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user