-
Notifications
You must be signed in to change notification settings - Fork 668
DYN-6036: Set dropdown IsModified outside WPF #14122
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
Conversation
|
Looks safe but just curious have you tested in Revit that it does not affect Dropdown nodes? |
|
@QilongTang Just did, Revit dropdowns look to be working as usual. |
| LoadSamplesPackage(); | ||
| RunDropdownGraph(); | ||
|
|
||
| NodeModel node = CurrentDynamoModel.CurrentWorkspace.Nodes.FirstOrDefault(); |
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.
Is there only one node in this graph?
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.
Two nodes. The first is the dropdown, the second is a watch node.
|
I am curious did you just run into this or is it a longstanding known issue? |
Just ran into it, though I think it's been around, undiscovered. When Player runs graphs it always forces Dynamo to reload the graph - a design decision. In testing the new player we forgot about that detail and were running without reloading, seeing dropdowns not rerunning their AST when the value was changed. |
Please Note:
DynamoRevitrepo will need to be cherry-picked into all the DynamoRevit Release branches that Dynamo supports. Contributors will be responsible for cherry-picking their reviewed commits to the other branches after aLGTMlabel is added to the PR.Purpose
DYN-6036
Moves dropdowns' OnNodeModified call outside WPF so that it is also run in ui-less mode.
Declarations
Check these if you believe they are true
*.resxfilesRelease Notes
Fix a bug where dropdown nodes were not marked as modified when the node's value was changed programatically while running in ui-less mode.
Reviewers
(FILL ME IN) Reviewer 1 (If possible, assign the Reviewer for the PR)
(FILL ME IN, optional) Any additional notes to reviewers or testers.
FYIs
(FILL ME IN, Optional) Names of anyone else you wish to be notified of