Changed the materials allocation routine. We can simply resize the materials list rather than creating a new list and copying ptrs.
View differences
Changed the materials allocation routine. We can simply resize the materials list rather than creating a new list and copying ptrs.