Skip to content

Commit

Permalink
v4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vanous committed Jul 22, 2024
1 parent 7d041f7 commit 8aaa620
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions in_gdtf.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def execute(self, context):
return {"FINISHED"}


if bpy.app.version >= (4, 0):
if bpy.app.version >= (4, 1):

class DMX_IO_FH_GDTF(bpy.types.FileHandler):
bl_idname = "IO_FH_gdtf"
Expand All @@ -169,12 +169,12 @@ def menu_func_import(self, context):
def register():
bpy.utils.register_class(DMX_OT_Import_GDTF)
bpy.types.TOPBAR_MT_file_import.append(menu_func_import)
if bpy.app.version >= (4, 0):
if bpy.app.version >= (4, 1):
bpy.utils.register_class(DMX_IO_FH_GDTF)


def unregister():
bpy.types.TOPBAR_MT_file_import.remove(menu_func_import)
if bpy.app.version >= (4, 0):
if bpy.app.version >= (4, 1):
bpy.utils.unregister_class(DMX_IO_FH_GDTF)
bpy.utils.unregister_class(DMX_OT_Import_GDTF)
6 changes: 3 additions & 3 deletions in_out_mvr.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def execute(self, context):
return {"FINISHED"}


if bpy.app.version >= (4, 0):
if bpy.app.version >= (4, 1):

class DMX_IO_FH_MVR(bpy.types.FileHandler):
bl_idname = "IO_FH_mvr"
Expand Down Expand Up @@ -111,14 +111,14 @@ def register():
bpy.utils.register_class(DMX_OT_Export_MVR)
bpy.types.TOPBAR_MT_file_import.append(menu_func_import)
bpy.types.TOPBAR_MT_file_export.append(menu_func_export)
if bpy.app.version >= (4, 0):
if bpy.app.version >= (4, 1):
bpy.utils.register_class(DMX_IO_FH_MVR)


def unregister():
bpy.types.TOPBAR_MT_file_import.remove(menu_func_import)
bpy.types.TOPBAR_MT_file_export.remove(menu_func_export)
if bpy.app.version >= (4, 0):
if bpy.app.version >= (4, 1):
bpy.utils.unregister_class(DMX_IO_FH_MVR)
bpy.utils.unregister_class(DMX_OT_Import_MVR)
bpy.utils.unregister_class(DMX_OT_Export_MVR)

0 comments on commit 8aaa620

Please sign in to comment.