mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Use Avalon scene save.
This commit is contained in:
parent
331ffab46f
commit
70333d22ad
2 changed files with 1 additions and 15 deletions
|
|
@ -42,7 +42,6 @@ class ExtractRender(pyblish.api.InstancePlugin):
|
|||
func = """function func(args)
|
||||
{
|
||||
node.setTextAttr(args[0], "DRAWING_NAME", 1, args[1]);
|
||||
scene.saveAll();
|
||||
}
|
||||
func
|
||||
"""
|
||||
|
|
@ -52,6 +51,7 @@ class ExtractRender(pyblish.api.InstancePlugin):
|
|||
"args": [instance[0], path + "/" + instance.data["name"]]
|
||||
}
|
||||
)
|
||||
harmony.save_scene()
|
||||
|
||||
# Execute rendering.
|
||||
output = pype.lib._subprocess([application_path, "-batch", scene_path])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue