Do not secretly pop data that OP generates by default

This commit is contained in:
Roy Nieterau 2023-03-06 16:31:09 +01:00
parent b513bb437d
commit 99637875ef

View file

@ -117,10 +117,4 @@ class FusionWorkfileCreator(AutoCreator):
return qtawesome.icon("fa.file-o", color="white")
def _imprint(self, comp, data):
# TODO: Should this keys persist or not? I'd prefer not
# Do not persist the current context for the Workfile
for key in ["variant", "subset", "asset", "task"]:
data.pop(key, None)
comp.SetData(self.data_key, data)