-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Houdini: Remove setParms
call since it's responsibility of self.imprint
to set the values
#5796
Conversation
This is the issue @MustafaJafar is facing: issue.mp4That's why originally he added the line: hotfix.mp4 |
Converting to draft since I'm able to reproduce and luckily have my test code failing too - will investigate more tomorrow. |
I think I found it but I have no idea yet how to solve it. The_Bug.mp4 |
…lue manually + refactor deprecated `Node.replaceSpareParmTuple` to use `ParmTemplateGroup.replace` instead
…s + do nothing if both no new and no update parms to process
So I found the issue - the issue was that if a parm was NOT on its default value (the user had manually changed it for example or called It was thus a matter of calling I've also refactored the code a bit because:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and It works!
Changelog Description
Revert a recent change made in #5621 due to this comment. However the change is faulty as can be seen mentioned here
Additional info
This is how I tested - if I open the publisher and "reset" in the publisher the instances also match the states set in this code, e.g. all on or all off depending on how I ran it.
It could be that the original test case that @MustafaJafar tried that failed has an
instance_node
that by chance has anactive
parm of its own and thus can't be a replaced spare parm because it is not a spare parm as suchlib.imprint
might fail to update? However, without a clear test case that reproduces the issue it's hard to figure out if that's the issue he was facing. If that is the case it just hints that we should have prefixed all Creator related attributes with e.g.openpype_
orayon_
to avoid such clashes.Testing notes: