OP-4679 - push adding comment to instance to Extractor phase

Pyblish allows modifying comment after collect phase, eg. collector wouldn't collect it.
Should be pushed back to Collect phase after Pyblish is eradicated.
This commit is contained in:
Petr Kalis 2023-01-11 15:03:55 +01:00
parent 59e2bd2bdf
commit 12e2980524

View file

@ -73,7 +73,9 @@ class CollectComment(
"""
label = "Collect Instance Comment"
order = pyblish.api.CollectorOrder + 0.49
# TODO change to CollectorOrder after Pyblish is purged
# Pyblish allows modifying comment after collect phase
order = pyblish.api.ExtractorOrder - 0.49
def process(self, context):
context_comment = self.cleanup_comment(context.data.get("comment"))