Fix bounding box problems with custom meshes.
Merge.
Add material scheme option.