[Bf-extensions-cvs] [92895af5] master: Update for changes to Blender's API
Campbell Barton
noreply at git.blender.org
Thu Nov 1 06:20:19 CET 2018
Commit: 92895af5ddde074624abbc27c09f8ee9ef42a510
Author: Campbell Barton
Date: Thu Nov 1 16:20:27 2018 +1100
Branches: master
https://developer.blender.org/rBA92895af5ddde074624abbc27c09f8ee9ef42a510
Update for changes to Blender's API
===================================================================
M io_scene_obj/export_obj.py
M io_scene_obj/import_obj.py
===================================================================
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):
More information about the Bf-extensions-cvs
mailing list