🐛 fix function call in argument

This commit is contained in:
Ondřej Samohel 2022-11-24 13:23:12 +01:00
parent 3325ee0330
commit d65eadb9b7
No known key found for this signature in database
GPG key ID: 02376E18990A97C6

View file

@ -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)