fixed uninitialized variable.
This commit is contained in:
parent
a4102993bb
commit
87d8294391
|
@ -114,10 +114,10 @@ class ColladaMesh : public vcg::tri::TriMesh< std::vector<ColladaVertex>, std
|
||||||
}
|
}
|
||||||
return indtx;
|
return indtx;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int WedgeColorAttribute(ColladaMesh& m,const QStringList face,const QStringList wc,const QDomNode wcsrc,const int meshfaceind,const int faceind,const int component)
|
static int WedgeColorAttribute(ColladaMesh& m,const QStringList face,const QStringList wc,const QDomNode wcsrc,const int meshfaceind,const int faceind,const int component)
|
||||||
{
|
{
|
||||||
int indcl;
|
int indcl = -1;
|
||||||
if (!wcsrc.isNull())
|
if (!wcsrc.isNull())
|
||||||
{
|
{
|
||||||
indcl = face.at(faceind).toInt();
|
indcl = face.at(faceind).toInt();
|
||||||
|
|
Loading…
Reference in New Issue