mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
nuke: adding supporting plugin function
This commit is contained in:
parent
8c045122f1
commit
50742bba5c
1 changed files with 16 additions and 0 deletions
|
|
@ -23,3 +23,19 @@ class PypeCreator(PypeCreatorMixin, avalon.nuke.pipeline.Creator):
|
||||||
self.log.error(msg + '\n\nPlease use other subset name!')
|
self.log.error(msg + '\n\nPlease use other subset name!')
|
||||||
raise NameError("`{0}: {1}".format(__name__, msg))
|
raise NameError("`{0}: {1}".format(__name__, msg))
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
|
def get_review_presets_config():
|
||||||
|
settings = get_current_project_settings()
|
||||||
|
review_profiles = (
|
||||||
|
settings["global"]
|
||||||
|
["publish"]
|
||||||
|
["ExtractReview"]
|
||||||
|
["profiles"]
|
||||||
|
)
|
||||||
|
|
||||||
|
outputs = {}
|
||||||
|
for profile in review_profiles:
|
||||||
|
outputs.update(profile.get("outputs", {}))
|
||||||
|
|
||||||
|
return [str(name) for name, _prop in outputs.items()]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue