From 80787006018f8ca6834c554e9e5edbcfc57013c3 Mon Sep 17 00:00:00 2001 From: Andrey Date: Wed, 13 Apr 2022 14:17:22 +0300 Subject: [PATCH] small --- libs/qglview/loader_3ds.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) {