Fix extractor.

This commit is contained in:
Toke Stuart Jepsen 2020-05-27 13:03:02 +01:00
parent 4fe2ee7bb8
commit 667aea4128

View file

@ -60,10 +60,8 @@ class ExtractRender(pyblish.api.InstancePlugin):
harmony.save_scene()
# Execute rendering.
import subprocess
subprocess.call([application_path, "-batch", scene_path])
#output = pype.lib._subprocess([application_path, "-batch", scene_path])
#self.log.info(output)
output = pype.lib._subprocess([application_path, "-batch", scene_path])
self.log.info(output)
# Collect rendered files.
files = os.listdir(path)