Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue
Fix so that top level inputs are parsed properly and values and path reflection data is correct (for uniform updates).
Fixes:
emission_color
is connected but not rendering correctly? #1445Defaults
Fix top level input discovery to include
GraphElement
s and not justNodeGraph
s (aDocument
where top level inputs reside is aGraphElement
).Once discovered the proper value and path can be pulled from the interface. The path is important since global uniform update relies on path matching.
Tests
Added in a simple top level test:
stdlib/nodegraph_inputs/top_level_input.mtlx
Result in MaterialXView:
Result in MaterialX Graph Editor:
Test files From Issues
1445
1383