mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
nuke plugins work
This commit is contained in:
parent
e2a600bf78
commit
ff0faa176d
3 changed files with 7 additions and 2 deletions
|
|
@ -3,6 +3,8 @@ import sys
|
|||
|
||||
import imp
|
||||
|
||||
from app.lib import templ
|
||||
|
||||
from pyblish import api as pyblish
|
||||
from avalon import api as avalon
|
||||
|
||||
|
|
@ -16,6 +18,10 @@ PLUGINS_DIR = os.path.join(PACKAGE_DIR, "plugins")
|
|||
PUBLISH_PATH = os.path.join(PLUGINS_DIR, "global", "publish")
|
||||
LOAD_PATH = os.path.join(PLUGINS_DIR, "global", "load")
|
||||
|
||||
__all__ = [
|
||||
"templ",
|
||||
]
|
||||
|
||||
|
||||
def install():
|
||||
print("Registering global plug-ins..")
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ class CrateWriteExr(avalon.api.Creator):
|
|||
# nuke = getattr(sys.modules["__main__"], "nuke", None)
|
||||
data = {}
|
||||
ext = "exr"
|
||||
root, nodes = avalon.nuke.get_current_script()
|
||||
|
||||
# todo: improve method of getting current environment
|
||||
# todo: pref avalon.Session over os.environ
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ class ValidateSettingsNuke(pyblish.api.Validator):
|
|||
except KeyError:
|
||||
print(
|
||||
"No resolution information found for \"{0}\".".format(
|
||||
project["name"]
|
||||
asset["name"]
|
||||
)
|
||||
)
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue