Skip to content

Commit e8432eb

Browse files
committed
Changed class names to fix warnings
1 parent f9851ab commit e8432eb

File tree

4 files changed

+21
-21
lines changed

4 files changed

+21
-21
lines changed

__init__.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
BSEQ_OT_resetpt,
3333
BSEQ_OT_resetins,
3434
BSEQ_OT_resetmesh,
35-
BSEQ_Import,
36-
BSEQ_Import_Child1,
37-
BSEQ_Import_Child2,
35+
BSEQ_PT_Import,
36+
BSEQ_PT_Import_Child1,
37+
BSEQ_PT_Import_Child2,
3838
BSEQ_Globals_Panel,
3939
BSEQ_List_Panel,
4040
BSEQ_UL_Obj_List,
@@ -51,9 +51,9 @@
5151
BSEQ_OT_enable_all,
5252
BSEQ_OT_refresh_sequences,
5353
BSEQ_OT_set_start_end_frames,
54-
WM_OT_batchSequences,
55-
WM_OT_batchSequences_Settings,
56-
WM_OT_MeshioObject
54+
BSEQ_OT_batchSequences,
55+
BSEQ_PT_batchSequences_Settings,
56+
BSEQ_OT_MeshioObject
5757
]
5858

5959
def register():

bseq/__init__.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from bseq.utils import refresh_obj
2-
from .operators import BSEQ_OT_load, BSEQ_OT_edit, BSEQ_OT_resetpt, BSEQ_OT_resetmesh, BSEQ_OT_resetins, BSEQ_OT_set_as_split_norm, BSEQ_OT_remove_split_norm, BSEQ_OT_disable_selected, BSEQ_OT_enable_selected, BSEQ_OT_refresh_seq, BSEQ_OT_disable_all, BSEQ_OT_enable_all, BSEQ_OT_refresh_sequences, BSEQ_OT_set_start_end_frames, WM_OT_batchSequences, WM_OT_batchSequences_Settings, WM_OT_MeshioObject
2+
from .operators import BSEQ_OT_load, BSEQ_OT_edit, BSEQ_OT_resetpt, BSEQ_OT_resetmesh, BSEQ_OT_resetins, BSEQ_OT_set_as_split_norm, BSEQ_OT_remove_split_norm, BSEQ_OT_disable_selected, BSEQ_OT_enable_selected, BSEQ_OT_refresh_seq, BSEQ_OT_disable_all, BSEQ_OT_enable_all, BSEQ_OT_refresh_sequences, BSEQ_OT_set_start_end_frames, BSEQ_OT_batchSequences, BSEQ_PT_batchSequences_Settings, BSEQ_OT_MeshioObject
33
from .properties import BSEQ_scene_property, BSEQ_obj_property, BSEQ_mesh_property
4-
from .panels import BSEQ_UL_Obj_List, BSEQ_List_Panel, BSEQ_Settings, BSEQ_Import, BSEQ_Import_Child1, BSEQ_Import_Child2, BSEQ_Globals_Panel, BSEQ_Advanced_Panel, BSEQ_Templates, BSEQ_UL_Att_List, draw_template
4+
from .panels import BSEQ_UL_Obj_List, BSEQ_List_Panel, BSEQ_Settings, BSEQ_PT_Import, BSEQ_PT_Import_Child1, BSEQ_PT_Import_Child2, BSEQ_Globals_Panel, BSEQ_Advanced_Panel, BSEQ_Templates, BSEQ_UL_Att_List, draw_template
55
from .messenger import subscribe_to_selected, unsubscribe_to_selected
66
import bpy
77
from bpy.app.handlers import persistent
@@ -25,9 +25,9 @@ def BSEQ_initialize(scene):
2525
"BSEQ_OT_load",
2626
"BSEQ_obj_property",
2727
"BSEQ_initialize",
28-
"BSEQ_Import",
29-
"BSEQ_Import_Child1",
30-
"BSEQ_Import_Child2",
28+
"BSEQ_PT_Import",
29+
"BSEQ_PT_Import_Child1",
30+
"BSEQ_PT_Import_Child2",
3131
"BSEQ_Globals_Panel",
3232
"BSEQ_List_Panel",
3333
"BSEQ_UL_Obj_List",
@@ -52,7 +52,7 @@ def BSEQ_initialize(scene):
5252
"BSEQ_OT_enable_all",
5353
"BSEQ_OT_refresh_sequences",
5454
"BSEQ_OT_set_start_end_frames",
55-
"WM_OT_batchSequences",
56-
"WM_OT_batchSequences_Settings",
57-
"WM_OT_MeshioObject"
55+
"BSEQ_OT_batchSequences",
56+
"BSEQ_PT_batchSequences_Settings",
57+
"BSEQ_OT_MeshioObject"
5858
]

bseq/operators.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ def execute(self, context):
340340
import meshio
341341
from bpy_extras.io_utils import ImportHelper
342342

343-
class WM_OT_batchSequences(bpy.types.Operator, ImportHelper):
343+
class BSEQ_OT_batchSequences(bpy.types.Operator, ImportHelper):
344344
"""Batch Import Sequences"""
345345
bl_idname = "wm.seq_import_batch"
346346
bl_label = "Import Sequences"
@@ -404,7 +404,7 @@ def execute(self, context):
404404
def draw(self, context):
405405
pass
406406

407-
class WM_OT_batchSequences_Settings(bpy.types.Panel):
407+
class BSEQ_PT_batchSequences_Settings(bpy.types.Panel):
408408
bl_space_type = 'FILE_BROWSER'
409409
bl_region_type = 'TOOL_PROPS'
410410
bl_label = "Settings Panel"
@@ -434,7 +434,7 @@ def draw(self, context):
434434
if importer_prop.relative:
435435
layout.prop(importer_prop, "root_path", text="Root Directory")
436436

437-
class WM_OT_MeshioObject(bpy.types.Operator, ImportHelper):
437+
class BSEQ_OT_MeshioObject(bpy.types.Operator, ImportHelper):
438438
"""Batch Import Meshio Objects"""
439439
bl_idname = "wm.meshio_import_batch"
440440
bl_label = "Import Multiple Meshio Objects"
@@ -452,7 +452,7 @@ def execute(self, context):
452452

453453
def menu_func_import(self, context):
454454
self.layout.operator(
455-
WM_OT_MeshioObject.bl_idname,
455+
BSEQ_OT_MeshioObject.bl_idname,
456456
text="MeshIO Object")
457457

458458
# Default Keymap Configuration

bseq/panels.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def draw(self, context):
194194
box.operator("bseq.setsplitnorm", text="Set selected as normal")
195195
box.operator("bseq.removesplitnorm", text="Clear normal")
196196

197-
class BSEQ_Import(BSEQ_Panel, bpy.types.Panel):
197+
class BSEQ_PT_Import(BSEQ_Panel, bpy.types.Panel):
198198
'''
199199
This is the panel of main addon interface. see images/1.jpg
200200
'''
@@ -248,7 +248,7 @@ def draw(self, context):
248248
box_col3.label(text="Scale:")
249249
box_col3.prop(importer_prop, "custom_scale", text="")
250250

251-
class BSEQ_Import_Child1(BSEQ_Panel, bpy.types.Panel):
251+
class BSEQ_PT_Import_Child1(BSEQ_Panel, bpy.types.Panel):
252252
bl_parent_id = "BSEQ_PT_panel"
253253
bl_label = "Import from folder"
254254
bl_options = {'DEFAULT_CLOSED'}
@@ -280,7 +280,7 @@ def draw(self, context):
280280

281281
layout.operator("sequence.load")
282282

283-
class BSEQ_Import_Child2(BSEQ_Panel, bpy.types.Panel):
283+
class BSEQ_PT_Import_Child2(BSEQ_Panel, bpy.types.Panel):
284284
bl_parent_id = "BSEQ_PT_panel"
285285
bl_label = "Test"
286286
bl_options = {'HIDE_HEADER'}

0 commit comments

Comments
 (0)