Cleanup: remove unused imports

This commit is contained in:
Campbell Barton
2024-07-23 15:53:22 +10:00
parent f1febee83f
commit dc74a98b9e
17 changed files with 2 additions and 25 deletions

View File

@@ -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()

View File

@@ -26,7 +26,6 @@ import bpy
from bpy.props import (
BoolProperty,
EnumProperty,
IntProperty,
PointerProperty,
StringProperty,
)

View File

@@ -17,7 +17,6 @@ bl_info = {
import bpy
from bpy.props import (
BoolProperty,
IntProperty,
StringProperty,
)

View File

@@ -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

View File

@@ -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)

View File

@@ -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

View File

@@ -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

View File

@@ -27,7 +27,6 @@ from bpy.types import (
Action,
AssetRepresentation,
Context,
Event,
Object,
Operator,
)

View File

@@ -6,9 +6,6 @@ import bpy
from bpy.types import (
Operator,
Menu,
Panel,
UIList,
PropertyGroup,
)
from bpy.props import (

View File

@@ -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')

View File

@@ -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

View File

@@ -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

View File

@@ -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:

View File

@@ -35,7 +35,6 @@ from bl_ui.space_toolsystem_common import (
from bpy.app.translations import (
contexts as i18n_contexts,
pgettext_iface as iface_,
)

View File

@@ -7,7 +7,6 @@ from bpy.types import (
Header,
Menu,
Panel,
UIList,
)
from bpy.app.translations import (
pgettext_iface as iface_,

View File

@@ -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 (

View File

@@ -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