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