ayon-core/pype/plugins/global/publish/collect_comment.py
2019-09-20 09:56:33 +02:00

18 lines
345 B
Python

"""
Requires:
None
Provides:
context -> comment (str)
"""
import pyblish.api
class CollectComment(pyblish.api.ContextPlugin):
"""This plug-ins displays the comment dialog box per default"""
label = "Collect Comment"
order = pyblish.api.CollectorOrder
def process(self, context):
context.data["comment"] = ""