-
Notifications
You must be signed in to change notification settings - Fork 342
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
Consider defaultgeomprop
when validating an input.
#1388
Consider defaultgeomprop
when validating an input.
#1388
Conversation
Fix validation ordering for graph to avoid errors due to the fact the libraries are not loaded before validation occurs.
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.
@kwokcb In your example above, wouldn't we simply want the graph editor to omit the normal input of the translucent_bsdf node? Since it's not binding any new data, it seems like it's a bug that the editor writes this out, and we should address the warning message on that side instead.
I just happen to use the editor but it's pretty easy to add an input to an instance and get this warning. |
Isn't that the purpose of this I'm not seeing how the presence of a My sense is that we should be consistent and emit the warning in all invalid cases, rather than omitting the warning in invalid cases that represent particularly easy mistakes for the exporting application to make. |
I'll close this pull request for now, since there's room for debate as to whether this would be an improvement to the validation rules. |
An input without a value or connection but a
defaultgeomprop
should not be considered to be invalid.any definitions loading in. Do a small patch for that. Viewer is correct.
Example created in node editor which is considered invalid and would fail unit tests.