Skip to content

Commit

Permalink
chore: simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
saturday06 committed Jan 23, 2025
1 parent 1edd08f commit 6b33b7e
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions src/io_scene_vrm/registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,17 +128,19 @@ def save_pre(_unused: object) -> None:


classes: list[
Union[
type[Panel],
type[UIList],
type[Menu],
type[Header],
type[Operator],
type[KeyingSetInfo],
type[RenderEngine],
type[AddonPreferences],
type[PropertyGroup],
type["bpy.types.FileHandler"], # bpy.app.version >= (4, 1, 0)
type[
Union[
Panel,
UIList,
Menu,
Header,
Operator,
KeyingSetInfo,
RenderEngine,
AddonPreferences,
PropertyGroup,
"bpy.types.FileHandler", # bpy.app.version >= (4, 1, 0)
]
]
] = [
io_scene_gltf2_support.WM_OT_vrm_io_scene_gltf2_disabled_warning,
Expand Down

0 comments on commit 6b33b7e

Please sign in to comment.