Skip to content

Commit 33bc3ae

Browse files
committed
[submitter] Propagate some env variables
1 parent 33639e3 commit 33bc3ae

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

meshroom/submitters/simpleFarmSubmitter.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ def __init__(self, parent=None):
6363
if 'REZ_PROD_PACKAGES_PATH' in os.environ:
6464
self.environment['REZ_PROD_PACKAGES_PATH'] = os.environ['REZ_PROD_PACKAGES_PATH']
6565

66+
if 'PROD' in os.environ:
67+
self.environment['PROD'] = os.environ['PROD']
68+
69+
if 'PROD_ROOT' in os.environ:
70+
self.environment['PROD_ROOT'] = os.environ['PROD_ROOT']
71+
6672
def createTask(self, meshroomFile, node):
6773
tags = self.DEFAULT_TAGS.copy() # copy to not modify default tags
6874
nbFrames = node.size

0 commit comments

Comments
 (0)