AcademySoftwareFoundation / MaterialX

MaterialX is an open standard for the exchange of rich material and look-development content across applications and renderers.
http://www.materialx.org/
Apache License 2.0
1.87k stars 353 forks source link

MaterialXEditor: shader and material nodes cannot be created inside nodegraphs #1230

Closed kwokcb closed 1 year ago

kwokcb commented 1 year ago

Seems these are always created at the top level even when trying to create them inside a nodegraph. So you can't create new surface shader graphs and materials in nodegraphs and it's confusing since the UI shows them in the graph but they are saved in the Document outside the graph.

Seems like a simple fix to remove the code which forces them to be created at the top level.

jstone-lucasfilm commented 1 year ago

Closing this issue as it's been addressed in #1231.