diff --git a/in_gdtf.py b/in_gdtf.py index cc2dda56..83d06bd7 100644 --- a/in_gdtf.py +++ b/in_gdtf.py @@ -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" @@ -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) diff --git a/in_out_mvr.py b/in_out_mvr.py index aebaddef..79324e9c 100644 --- a/in_out_mvr.py +++ b/in_out_mvr.py @@ -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" @@ -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)