families is None for group/gizmo

This commit is contained in:
jrsndlr 2022-03-10 13:01:52 +01:00
parent 9f39bba2d3
commit 752af659be

View file

@ -80,7 +80,7 @@ class PreCollectNukeInstances(pyblish.api.ContextPlugin):
# Add all nodes in group instances.
if node.Class() == "Group":
# only alter families for render family
if "write" in families_ak.lower():
if families_ak and "write" in families_ak.lower():
target = node["render"].value()
if target == "Use existing frames":
# Local rendering