mirror of
https://github.com/godotengine/collada-exporter.git
synced 2026-01-01 01:48:22 +03:00
Fix Python 3.12 compatibility by replacing deprecated imp usage
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user