Fix inverted refresh boolean

This commit is contained in:
Toke Stuart Jepsen 2022-12-09 10:07:45 +00:00
parent fb3236675b
commit 67a45524a2

View file

@ -86,7 +86,8 @@ class ExtractAlembic(publish.Extractor):
start=start,
end=end))
with suspended_refresh(suspend=instance.data.get("refresh", False)):
suspend = not instance.data.get("refresh", False)
with suspended_refresh(suspend=suspend):
with maintained_selection():
cmds.select(nodes, noExpand=True)
extract_alembic(