David Kabala
-
2009-11-19
- priority: 5 --> 7
All of the Materials defined in Toolbox cause a segfault when their states are rebuild. This only happens when there is a texture chunk associated with that material.
Possible solution: redefine the rebuildState method so that the materials add the textureChunks themselves. This means that the texture chunks should not be added as chunks of the inherited slass ChunkMaterial.
Another solution: redefine the rebuildState() method. Make the Materials inherit off of Material instead of ChunkMaterial.