mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 21:32:15 +01:00
set f1 and f2 to $FSTART and $FEND respectively
This commit is contained in:
parent
c8cd4595c2
commit
0916db5fa0
1 changed files with 5 additions and 0 deletions
|
|
@ -45,6 +45,11 @@ class CreateCompositeSequence(plugin.HoudiniCreator):
|
|||
|
||||
instance_node.setParms(parms)
|
||||
|
||||
# Manually set f1 & f2 to $FSTART and $FEND respectively
|
||||
# to match other Houdini nodes default.
|
||||
instance_node.parm("f1").setExpression("$FSTART")
|
||||
instance_node.parm("f2").setExpression("$FEND")
|
||||
|
||||
# Lock any parameters in this list
|
||||
to_lock = ["prim_to_detail_pattern"]
|
||||
self.lock_parameters(instance_node, to_lock)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue