mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
🐛 fix function call in argument
This commit is contained in:
parent
3325ee0330
commit
d65eadb9b7
1 changed files with 3 additions and 1 deletions
|
|
@ -259,7 +259,7 @@ class HoudiniCreator(NewCreator, HoudiniCreatorBase):
|
|||
|
||||
@staticmethod
|
||||
def customize_node_look(
|
||||
node, color=hou.Color((0.616, 0.871, 0.769)),
|
||||
node, color=None,
|
||||
shape="chevron_down"):
|
||||
"""Set custom look for instance nodes.
|
||||
|
||||
|
|
@ -272,5 +272,7 @@ class HoudiniCreator(NewCreator, HoudiniCreatorBase):
|
|||
None
|
||||
|
||||
"""
|
||||
if not color:
|
||||
color = hou.Color((0.616, 0.871, 0.769))
|
||||
node.setUserData('nodeshape', shape)
|
||||
node.setColor(color)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue