Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'io_scene_ms3d')
-rw-r--r--io_scene_ms3d/__init__.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/io_scene_ms3d/__init__.py b/io_scene_ms3d/__init__.py
index a4d04db9..794aae6b 100644
--- a/io_scene_ms3d/__init__.py
+++ b/io_scene_ms3d/__init__.py
@@ -48,9 +48,9 @@ bl_info = {
# To support reload properly, try to access a package var,
# if it's there, reload everything
if 'bpy' in locals():
- import imp
+ import importlib
if 'io_scene_ms3d.ms3d_ui' in locals():
- imp.reload(io_scene_ms3d.ms3d_ui)
+ importlib.reload(io_scene_ms3d.ms3d_ui)
else:
from io_scene_ms3d.ms3d_ui import (
Ms3dImportOperator,
@@ -74,8 +74,8 @@ from bpy.types import (
def register():
####################
# F8 - key
- import imp
- imp.reload(ms3d_ui)
+ import importlib
+ importlib.reload(ms3d_ui)
# F8 - key
####################