mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
nuke fixing closing group issue
This commit is contained in:
parent
97a4ac562e
commit
3ba9964edd
3 changed files with 3 additions and 5 deletions
|
|
@ -9,7 +9,6 @@ from avalon.tools import workfiles
|
|||
from pyblish import api as pyblish
|
||||
from pype.api import Logger
|
||||
import pype.hosts.nuke
|
||||
from pype import PLUGINS_DIR
|
||||
from . import lib, menu
|
||||
|
||||
|
||||
|
|
@ -18,7 +17,6 @@ self.workfiles_launched = False
|
|||
log = Logger().get_logger(__name__, "nuke")
|
||||
|
||||
AVALON_CONFIG = os.getenv("AVALON_CONFIG", "pype")
|
||||
|
||||
HOST_DIR = os.path.dirname(os.path.abspath(pype.hosts.nuke.__file__))
|
||||
PLUGINS_DIR = os.path.join(HOST_DIR, "plugins")
|
||||
PUBLISH_PATH = os.path.join(PLUGINS_DIR, "publish")
|
||||
|
|
@ -72,7 +70,7 @@ def install():
|
|||
# Register Avalon event for workfiles loading.
|
||||
avalon.on("workio.open_file", lib.check_inventory_versions)
|
||||
|
||||
# pyblish.register_callback("instanceToggled", on_pyblish_instance_toggled)
|
||||
pyblish.register_callback("instanceToggled", on_pyblish_instance_toggled)
|
||||
workfile_settings = lib.WorkfileSettings()
|
||||
# Disable all families except for the ones we explicitly want to see
|
||||
family_states = [
|
||||
|
|
|
|||
|
|
@ -472,7 +472,7 @@ def create_write_node(name, data, input=None, prenodes=None, review=True):
|
|||
GN.addKnob(knob)
|
||||
elif "_grp-end_" in name:
|
||||
knob = nuke.Tab_Knob(
|
||||
"rnd_attr", "Rendering attributes", nuke.TABENDGROUP)
|
||||
"rnd_attr_end", "Rendering attributes", nuke.TABENDGROUP)
|
||||
GN.addKnob(knob)
|
||||
else:
|
||||
link = nuke.Link_Knob("")
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit d98cf8f0db78e5d225dda09cc5ca140bf41772d5
|
||||
Subproject commit 8a19fc31f9f503f63a1b4d6cb90f3690902c2e5d
|
||||
Loading…
Add table
Add a link
Reference in a new issue