Merge pull request #1203 from pypeclub/3.0/bugfix/1089-nuke-avalontab-as-default-for-write-node

Nuke: AvalonTab as default for write node
This commit is contained in:
Milan Kolar 2021-03-31 09:27:43 +02:00 committed by GitHub
commit a26529e917
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -489,6 +489,9 @@ def create_write_node(name, data, input=None, prenodes=None, review=True):
# Deadline tab.
add_deadline_tab(GN)
# open the AvalonTab as default
GN["AvalonTab"].setFlag(0)
# set tile color
tile_color = _data.get("tile_color", "0xff0000ff")
GN["tile_color"].setValue(tile_color)