-
Notifications
You must be signed in to change notification settings - Fork 635
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
DYN-2381 Exclude code block nodes from SetArgumentLacing #11294
Conversation
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.
While this PR does what it was asked for, this is not only a problem with Code Block nodes. Python Script nodes suffer the same issue and probably others do.
By taking a look at the code, I could see NodeModel
has a property named ArgumentLacing
that should be set to LacingStrategy.Disabled
when lacing is not supported by the node. Using that, rather than excluding by type like in https://github.com/DynamoDS/Dynamo/pull/11294/files#diff-14fa24535a2d0aa34f993496cc35eb02dbadcffb7576a54cbeef2e9821edba8cR1131, should be the right way to solve this IMO.
|
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.
Looks good. Thanks @StudioLE
* Exclude code block nodes from SetArgumentLacing * Added test to check code block lacing doesn't change * Restructured code block lacing test * Exclude all LacingStrategy.Disabled nodes from SetArgumentLacing
…1327) * Exclude code block nodes from SetArgumentLacing * Added test to check code block lacing doesn't change * Restructured code block lacing test * Exclude all LacingStrategy.Disabled nodes from SetArgumentLacing Co-authored-by: Laurence Elsdon <[email protected]>
Purpose
JIRA: DYN-2381
Exclude Code Block Nodes when setting the lacing by selecting multiple nodes and right clicking on the canvas.
The previous behaviour did nothing but causes some visual anomalies and can be confusing to a user.
Previous Behaviour:
Revised Behaviour
Declarations
Check these if you believe they are true
*.resx
filesReviewers
@mjkkirschner @QilongTang @mmisol
FYIs
@Amoursol