mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
fix default value of function argument
This commit is contained in:
parent
26d8304fd9
commit
9980aa90fa
1 changed files with 3 additions and 1 deletions
|
|
@ -49,12 +49,14 @@ def gizmo_is_nuke_default(gizmo):
|
|||
return gizmo.filename().startswith(plug_dir)
|
||||
|
||||
|
||||
def bake_gizmos_recursively(in_group=nuke.Root()):
|
||||
def bake_gizmos_recursively(in_group=None):
|
||||
"""Converting a gizmo to group
|
||||
|
||||
Argumets:
|
||||
is_group (nuke.Node)[optonal]: group node or all nodes
|
||||
"""
|
||||
if in_group is None:
|
||||
in_group = nuke.Root()
|
||||
# preserve selection after all is done
|
||||
with maintained_selection():
|
||||
# jump to the group
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue