OP-2766 - added newPublishing flag to differentiate old from new

This commit is contained in:
Pype Club 2022-03-22 16:59:53 +01:00
parent b8dd330be3
commit adc135cb4c

View file

@ -25,7 +25,7 @@ class CollectFromCreateContext(pyblish.api.ContextPlugin):
# Update global data to context
context.data.update(create_context.context_data_to_store())
context.data["newPublishing"] = True
# Update context data
for key in ("AVALON_PROJECT", "AVALON_ASSET", "AVALON_TASK"):
value = create_context.dbcon.Session.get(key)