autodesk-forks / MaterialX

MaterialX C++ and Python libraries
http://www.materialx.org/
Apache License 2.0
107 stars 23 forks source link

Input interface value resolve fix #1202

Closed bernardkwok closed 3 years ago

bernardkwok commented 3 years ago

Note: This PR is for discussion purposes only for now

Make getValue() and getResolvedValue() take into account if an ValueElement does not have a value then check it's associated (interfacename ) interface Element.

Test Results:

adsk_interface_tests.pdf specifically the procedural graph test: image