Cleanup: remove unused imports
This commit is contained in:
@@ -10,7 +10,6 @@ import bpy
|
||||
import gpu
|
||||
from mathutils import Matrix
|
||||
from gpu_extras.batch import batch_for_shader
|
||||
import array
|
||||
import time
|
||||
|
||||
start_time = time.time()
|
||||
|
||||
@@ -26,7 +26,6 @@ import bpy
|
||||
from bpy.props import (
|
||||
BoolProperty,
|
||||
EnumProperty,
|
||||
IntProperty,
|
||||
PointerProperty,
|
||||
StringProperty,
|
||||
)
|
||||
|
||||
@@ -17,7 +17,6 @@ bl_info = {
|
||||
|
||||
import bpy
|
||||
from bpy.props import (
|
||||
BoolProperty,
|
||||
IntProperty,
|
||||
StringProperty,
|
||||
)
|
||||
|
||||
@@ -6,7 +6,6 @@ import bpy
|
||||
from bpy.types import Panel, Menu
|
||||
from bpy.props import StringProperty
|
||||
from bpy.app.translations import contexts as i18n_contexts
|
||||
from nodeitems_utils import node_categories_iter, NodeItemCustom
|
||||
|
||||
from . import operators
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ from .utils.constants import blend_types, geo_combine_operations, operations, na
|
||||
from .utils.draw import draw_callback_nodeoutline
|
||||
from .utils.paths import match_files_to_socket_names, split_into_components
|
||||
from .utils.nodes import (node_mid_pt, autolink, node_at_pos, get_nodes_links,
|
||||
get_group_output_node, get_output_location, force_update, get_internal_socket, nw_check,
|
||||
force_update, nw_check,
|
||||
nw_check_not_empty, nw_check_selected, nw_check_active, nw_check_space_type,
|
||||
nw_check_node_type, nw_check_visible_outputs, nw_check_viewer_node, NWBase,
|
||||
get_first_enabled_output, is_visible_socket)
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
|
||||
import bpy
|
||||
from bpy.props import EnumProperty, BoolProperty, StringProperty
|
||||
from nodeitems_utils import node_categories_iter
|
||||
|
||||
from . import operators
|
||||
from . import interface
|
||||
|
||||
@@ -8,15 +8,12 @@ Pose Library - GUI definition.
|
||||
|
||||
import bpy
|
||||
from bpy.types import (
|
||||
AssetHandle,
|
||||
AssetRepresentation,
|
||||
Context,
|
||||
Menu,
|
||||
Panel,
|
||||
UILayout,
|
||||
UIList,
|
||||
WindowManager,
|
||||
WorkSpace,
|
||||
)
|
||||
from bl_ui_utils.layout import operator_context
|
||||
|
||||
|
||||
@@ -27,7 +27,6 @@ from bpy.types import (
|
||||
Action,
|
||||
AssetRepresentation,
|
||||
Context,
|
||||
Event,
|
||||
Object,
|
||||
Operator,
|
||||
)
|
||||
|
||||
@@ -6,9 +6,6 @@ import bpy
|
||||
|
||||
from bpy.types import (
|
||||
Operator,
|
||||
Menu,
|
||||
Panel,
|
||||
UIList,
|
||||
PropertyGroup,
|
||||
)
|
||||
from bpy.props import (
|
||||
|
||||
@@ -4,14 +4,10 @@
|
||||
|
||||
import bpy
|
||||
from bpy.types import Operator
|
||||
from bpy.props import IntProperty, BoolProperty
|
||||
from bpy.props import BoolProperty
|
||||
|
||||
from bpy.app.translations import pgettext_data as data_
|
||||
|
||||
from bpy.props import (
|
||||
EnumProperty,
|
||||
)
|
||||
|
||||
|
||||
def add_empty_geometry_node_group(name):
|
||||
group = bpy.data.node_groups.new(name, 'GeometryNodeTree')
|
||||
|
||||
@@ -22,7 +22,6 @@ from bpy.props import (
|
||||
|
||||
from bpy.app.translations import (
|
||||
pgettext_tip as tip_,
|
||||
contexts as i18n_contexts,
|
||||
)
|
||||
from mathutils import Vector
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@ from mathutils import (
|
||||
from bpy.app.translations import (
|
||||
pgettext_tip as tip_,
|
||||
pgettext_rpt as rpt_,
|
||||
pgettext_data as data_,
|
||||
)
|
||||
|
||||
from nodeitems_builtins import node_tree_group_type
|
||||
|
||||
@@ -10,7 +10,6 @@ from bl_ui.space_view3d import (
|
||||
VIEW3D_PT_shading_options,
|
||||
)
|
||||
from bl_ui.utils import PresetPanel
|
||||
from bpy.app.translations import pgettext_rpt as rpt_
|
||||
|
||||
|
||||
class RenderButtonsPanel:
|
||||
|
||||
@@ -35,7 +35,6 @@ from bl_ui.space_toolsystem_common import (
|
||||
|
||||
from bpy.app.translations import (
|
||||
contexts as i18n_contexts,
|
||||
pgettext_iface as iface_,
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@ from bpy.types import (
|
||||
Header,
|
||||
Menu,
|
||||
Panel,
|
||||
UIList,
|
||||
)
|
||||
from bpy.app.translations import (
|
||||
pgettext_iface as iface_,
|
||||
|
||||
@@ -10,7 +10,6 @@ from bpy.types import (
|
||||
)
|
||||
from bpy.app.translations import (
|
||||
contexts as i18n_contexts,
|
||||
pgettext_iface as iface_,
|
||||
pgettext_rpt as rpt_,
|
||||
)
|
||||
from bl_ui.properties_grease_pencil_common import (
|
||||
|
||||
@@ -29,7 +29,6 @@ from bl_ui.properties_paint_common import (
|
||||
brush_settings,
|
||||
brush_settings_advanced,
|
||||
draw_color_settings,
|
||||
BrushAssetShelf,
|
||||
)
|
||||
from bl_ui.utils import PresetPanel
|
||||
|
||||
|
||||
Reference in New Issue
Block a user