Skip to content

Commit 548090e

Browse files
committed
Fix export exceptions
1 parent ee26ef8 commit 548090e

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

jobs/anim_export.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def anim_export(self, context, job):
205205

206206
try:
207207
start_time = time.time()
208-
self._execute(context, job, rig)
208+
_anim_export(self, context, job, rig)
209209
# Finished without errors
210210
elapsed = time.time() - start_time
211211
self.report({'INFO'}, get_nice_export_report(self.exported_files, elapsed))

jobs/rig_export.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ def rig_export(self, context, job):
355355

356356
try:
357357
start_time = time.time()
358-
self._execute(context, job, rig)
358+
_rig_export(self, context, job, rig)
359359
# Finished without errors
360360
elapsed = time.time() - start_time
361361
self.report({'INFO'}, get_nice_export_report(self.exported_files, elapsed))

patcher.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,9 @@ def get_func(self, module, function_name):
8989
def __enter__(self):
9090
module = self.get_module(self.module_or_module_name)
9191
if not module:
92-
logd(f"Importing module {module_name}")
93-
module = importlib.import_module(module_name)
92+
logd(f"Importing module {self.module_or_module_name}")
93+
import importlib
94+
module = importlib.import_module(self.module_or_module_name)
9495
if module:
9596
base_func = self.get_func(module, self.function_name)
9697
if base_func:

0 commit comments

Comments
 (0)