removed some warnings and added return statement.
This commit is contained in:
parent
875c8e71b7
commit
8b9f17d14c
|
@ -203,7 +203,7 @@ class ColladaMesh : public vcg::tri::TriMesh< std::vector<ColladaVertex>, std
|
||||||
QStringList faceIndexList;
|
QStringList faceIndexList;
|
||||||
valueStringList(faceIndexList,polylist.at(tript),"p");
|
valueStringList(faceIndexList,polylist.at(tript),"p");
|
||||||
|
|
||||||
int offsetface = (int)m.face.size();
|
//int offsetface = (int)m.face.size();
|
||||||
if (faceIndexList.size() != 0 && faceSizeList.size() != 0 )
|
if (faceIndexList.size() != 0 && faceSizeList.size() != 0 )
|
||||||
{
|
{
|
||||||
WedgeAttribute wa;
|
WedgeAttribute wa;
|
||||||
|
@ -217,7 +217,7 @@ class ColladaMesh : public vcg::tri::TriMesh< std::vector<ColladaVertex>, std
|
||||||
int curFaceVertNum = faceSizeList.at(ff).toInt();
|
int curFaceVertNum = faceSizeList.at(ff).toInt();
|
||||||
|
|
||||||
MyPolygon<typename ColladaMesh::VertexType> polyTemp(curFaceVertNum);
|
MyPolygon<typename ColladaMesh::VertexType> polyTemp(curFaceVertNum);
|
||||||
for(unsigned int tt = 0;tt < curFaceVertNum ;++tt) // for each vertex of the polygon
|
for(int tt = 0;tt < curFaceVertNum ;++tt) // for each vertex of the polygon
|
||||||
{
|
{
|
||||||
int indvt = faceIndexList.at(faceIndexCnt).toInt();
|
int indvt = faceIndexList.at(faceIndexCnt).toInt();
|
||||||
QDEBUG("******* Reading face[%3i].V(%i) = %4i (%i-th of the index list) (face has %i vertices)",ff,tt,indvt,faceIndexCnt,curFaceVertNum);
|
QDEBUG("******* Reading face[%3i].V(%i) = %4i (%i-th of the index list) (face has %i vertices)",ff,tt,indvt,faceIndexCnt,curFaceVertNum);
|
||||||
|
@ -426,7 +426,7 @@ class ColladaMesh : public vcg::tri::TriMesh< std::vector<ColladaVertex>, std
|
||||||
QDEBUG("** skin node of a controller has a material binding");
|
QDEBUG("** skin node of a controller has a material binding");
|
||||||
GenerateMaterialBinding(skinNode,materialBindingMap);
|
GenerateMaterialBinding(skinNode,materialBindingMap);
|
||||||
}
|
}
|
||||||
LoadGeometry(m, info, refNode.toElement(),materialBindingMap);
|
return LoadGeometry(m, info, refNode.toElement(),materialBindingMap);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* before instancing a geometry you can make a binding that allow you to substitute next material names with other names.
|
/* before instancing a geometry you can make a binding that allow you to substitute next material names with other names.
|
||||||
|
|
Loading…
Reference in New Issue