diff --git a/libs/qglview/loader_3ds.cpp b/libs/qglview/loader_3ds.cpp index d84af3c..9173da8 100644 --- a/libs/qglview/loader_3ds.cpp +++ b/libs/qglview/loader_3ds.cpp @@ -41,7 +41,8 @@ void Loader3DS::init3DSMesh(GLObjectBase * o, const QVector & 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) {