Open dylanwal opened 1 year ago
The inventory node is supposed to be able to be use index notation to get material nodes; this was broken in the latest update.
material = inventory["toluene"]
Inventory now only stores urls instead of full material nodes.
Proposed solution: get the material nodes when Inventory._generate_index_table is called.
This is happening because the default value of the get_level parameter is 0. I just created PR #55 to bump this to 1.
get_level
0
1
The inventory node is supposed to be able to be use index notation to get material nodes; this was broken in the latest update.
Inventory now only stores urls instead of full material nodes.
Proposed solution: get the material nodes when Inventory._generate_index_table is called.