Add todo/question regarding intent

This commit is contained in:
Roy Nieterau 2022-04-02 20:51:56 +02:00
parent e6209555b0
commit 52fd21d854

View file

@ -91,6 +91,8 @@ class CollectAnatomyContextData(pyblish.api.ContextPlugin):
}
})
# todo: some code actually expects the dict itself and others doesn't
# question: what should it be?
intent = context.data.get("intent")
if intent and isinstance(intent, dict):
intent = intent.get("value")