|
@@ -395,7 +395,7 @@ Model3DData *M3Datei::ladeModel( const char *name ) const
|
|
|
Polygon3D *p = new Polygon3D();
|
|
|
d.lese( (char *)& p->indexAnz, 4 );
|
|
|
p->indexList = new int[ p->indexAnz ];
|
|
|
- d.lese( (char *)p->indexList, pAnz * 4 );
|
|
|
+ d.lese( (char *)p->indexList, p->indexAnz * 4 );
|
|
|
model->addPolygon( p );
|
|
|
}
|
|
|
float factor;
|