Skip to content
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

Call NotifyGraphChanged when validating an asset to refresh nodes without making the asset dirty #235

Open
wants to merge 1 commit into
base: 5.x
Choose a base branch
from

Conversation

SPontadit
Copy link
Contributor

When ValidateAsset is called, the nodes are not reconstructed, so the ErrorReporting widget is not updated. We have to call Refresh to update the node but, it makes the asset dirty.

By calling NotifyGraphChanged at the end of ValidateAsset_Internal, nodes are reconstructed without marking the asset dirty.

@MothDoctor MothDoctor self-assigned this Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants