This commit is contained in:
Andrey
2022-04-13 14:17:22 +03:00
parent 3c4a230c63
commit 8078700601

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) {