mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
13 lines
421 B
Python
13 lines
421 B
Python
import re
|
|
import avalon.api
|
|
import avalon.nuke
|
|
from pype.api import get_current_project_settings
|
|
|
|
class PypeCreator(avalon.nuke.pipeline.Creator):
|
|
"""Pype Nuke Creator class wrapper
|
|
"""
|
|
def __init__(self, *args, **kwargs):
|
|
super(PypeCreator, self).__init__(*args, **kwargs)
|
|
self.presets = get_current_project_settings()["nuke"]["create"].get(
|
|
self.__class__.__name__, {}
|
|
)
|