Harmony allow disabling write node for farm

This commit is contained in:
Petr Kalis 2021-01-28 18:02:59 +01:00
parent 05bd3efcff
commit fe60dc0c19
2 changed files with 4 additions and 3 deletions

View file

@ -42,7 +42,8 @@ CollectFarmRender.prototype.getRenderNodeSettings = function(n) {
n, frame.current(), 'DRAWING_TYPE'),
node.getTextAttr(
n, frame.current(), 'LEADING_ZEROS'),
node.getTextAttr(n, frame.current(), 'START')
node.getTextAttr(n, frame.current(), 'START'),
node.getEnable(n)
];
return output;

View file

@ -117,7 +117,7 @@ class CollectFarmRender(pype.lib.abstract_collect_render.
if data["family"] != "renderFarm":
continue
# 0 - filename / 1 - type / 2 - zeros / 3 - start
# 0 - filename / 1 - type / 2 - zeros / 3 - start / 4 - enabled
info = harmony.send(
{
"function": f"PypeHarmony.Publish.{self_name}."
@ -155,7 +155,7 @@ class CollectFarmRender(pype.lib.abstract_collect_render.
asset=api.Session["AVALON_ASSET"],
attachTo=False,
setMembers=[node],
publish=True,
publish=info[4],
review=False,
renderer=None,
priority=50,