drop out the force flag in referenceQuery

This commit is contained in:
Kayla Man 2023-01-03 23:45:51 +08:00
parent c86ebf1e93
commit df62f315cc

View file

@ -82,7 +82,7 @@ cmds.file(current_name, open=True, force=True)
print(">>> Processing references")
all_reference = cmds.file(q=True, reference=True) or []
for ref in all_reference:
if cmds.referenceQuery(ref, f=True, il=True):
if cmds.referenceQuery(ref, il=True):
cmds.file(ref, importReference=True)
nested_ref = cmds.file(q=True, reference=True)