[nodes] ScenePreview: parallelize node

This commit is contained in:
Loïc Vital 2023-06-16 08:49:18 -07:00
parent 74d1a9091e
commit 737c995c4f

View file

@ -7,6 +7,9 @@ currentDir = os.path.dirname(os.path.abspath(__file__))
class ScenePreview(desc.CommandLineNode): class ScenePreview(desc.CommandLineNode):
commandLine = '{blenderCmdValue} -b --python {scriptValue} -- {allParams}' commandLine = '{blenderCmdValue} -b --python {scriptValue} -- {allParams}'
size = desc.DynamicNodeSize('cameras')
parallelization = desc.Parallelization(blockSize=10)
commandLineRange = '--rangeStart {rangeStart} --rangeSize {rangeBlockSize}'
category = 'Utils' category = 'Utils'
documentation = ''' documentation = '''