- User Since
- Mar 3 2016, 9:14 AM (237 w, 4 d)
Mar 18 2016
Load shader node from different places.
Mar 17 2016
To allow import the <shader></shader> with same name need to cache the node map. This may require new variable in the XMLReadState.
So currently the importer code of rgb curves node open a new XML document and process the data within the function xml_read_shader_graph()
Mar 16 2016
The rgbcurvesnode is a subnode under the <shader></shader> tag and cannot be loaded like the mesh data. It's not elegant to add a line in the xml_read_scene() specially for rgbcurvesnode. I feel it would be better to change the import code of xml_read_shader(): Check if the name already existed in the state.scene->shaders. So the nodes in a shader can be imported from different places.