This commit is contained in:
2022-04-14 16:12:40 +03:00

View File

@@ -41,7 +41,8 @@ void Loader3DS::init3DSMesh(GLObjectBase * o, const QVector<uint> & smooth) {
vertices.resize(fcnt * 3);
normals.resize(vertices.size());
if (has_uv) uvs.resize(fcnt * 2);
int ind = 0, induv = 0, ncnt0, ncnt1, ncnt2, csg;
int ind = 0, induv = 0, ncnt0, ncnt1, ncnt2;
uint csg;
//qDebug() << faces.size();
if (smooth.isEmpty()) {
for (int i = 0; i < faces.size(); ++i) {