mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Fix LoadError
This commit is contained in:
parent
76c0a0266f
commit
35428df6b0
1 changed files with 2 additions and 1 deletions
|
|
@ -2,6 +2,7 @@ from openpype.pipeline import (
|
|||
load,
|
||||
get_representation_path,
|
||||
)
|
||||
from openpype.pipeline.load import LoadError
|
||||
from openpype.hosts.substancepainter.api.pipeline import (
|
||||
imprint_container,
|
||||
set_container_metadata,
|
||||
|
|
@ -105,7 +106,7 @@ class SubstanceLoadProjectMesh(load.LoaderPlugin):
|
|||
if status == substance_painter.project.ReloadMeshStatus.SUCCESS:
|
||||
print("Reload succeeded")
|
||||
else:
|
||||
raise LoaderError("Reload of mesh failed")
|
||||
raise LoadError("Reload of mesh failed")
|
||||
|
||||
substance_painter.project.reload_mesh(path, settings, on_mesh_reload)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue