Fix Python 3.12 compatibility by replacing deprecated imp usage

This commit is contained in:
Hugo Locurcio
2025-05-14 17:22:56 +02:00
parent 16c009800a
commit 7b5b01f0cf

View File

@@ -35,9 +35,9 @@ bl_info = {
"category": "Import-Export"}
if "bpy" in locals():
import imp
import importlib
if "export_dae" in locals():
imp.reload(export_dae) # noqa
importlib.reload(export_dae) # noqa
class CE_OT_export_dae(bpy.types.Operator, ExportHelper):