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:
authorCampbell Barton <ideasman42@gmail.com>2018-11-01 08:20:27 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-01 08:20:27 +0300
commit92895af5ddde074624abbc27c09f8ee9ef42a510 (patch)
tree81b4d70384426b999039226c1b0c2f986017db62
parentc2aef4a98f6cabef9a6d38a33035f02cf8233dd0 (diff)
Update for changes to Blender's API
-rw-r--r--io_scene_obj/export_obj.py5
-rw-r--r--io_scene_obj/import_obj.py4
2 files changed, 6 insertions, 3 deletions
diff --git a/io_scene_obj/export_obj.py b/io_scene_obj/export_obj.py
index acdcbc6c..05ff4db2 100644
--- a/io_scene_obj/export_obj.py
+++ b/io_scene_obj/export_obj.py
@@ -24,7 +24,10 @@ import bpy
import mathutils
import bpy_extras.io_utils
-from progress_report import ProgressReport, ProgressReportSubstep
+from bpy_extras.wm_utils.progress_report import (
+ ProgressReport,
+ ProgressReportSubstep,
+)
def name_compat(name):
diff --git a/io_scene_obj/import_obj.py b/io_scene_obj/import_obj.py
index 52a9a291..6e26a4fc 100644
--- a/io_scene_obj/import_obj.py
+++ b/io_scene_obj/import_obj.py
@@ -36,10 +36,10 @@ import os
import time
import bpy
import mathutils
+
from bpy_extras.io_utils import unpack_list
from bpy_extras.image_utils import load_image
-
-from progress_report import ProgressReport, ProgressReportSubstep
+from bpy_extras.wm_utils.progress_report import ProgressReport
def line_value(line_split):