This commit is contained in:
parent
13f0066cfa
commit
0fc8a49a51
|
@ -589,6 +589,9 @@ bool HasVFAdjacency (const TriMesh < ContainerType0 , ContainerType1, Containe
|
||||||
// for the macro assert
|
// for the macro assert
|
||||||
bool a1 = TriMesh < ContainerType0 , ContainerType1, ContainerType2, ContainerType3>::FaceContainer::value_type::HasVFAdjacency();
|
bool a1 = TriMesh < ContainerType0 , ContainerType1, ContainerType2, ContainerType3>::FaceContainer::value_type::HasVFAdjacency();
|
||||||
bool a2 = TriMesh < ContainerType0 , ContainerType1, ContainerType2, ContainerType3>::VertContainer::value_type::HasVFAdjacency();
|
bool a2 = TriMesh < ContainerType0 , ContainerType1, ContainerType2, ContainerType3>::VertContainer::value_type::HasVFAdjacency();
|
||||||
|
// a1 and a2 are still evaluated but not referenced, this causes a warning
|
||||||
|
(void)a1;
|
||||||
|
(void)a2;
|
||||||
assert(a1==a2);
|
assert(a1==a2);
|
||||||
return TriMesh < ContainerType0 , ContainerType1, ContainerType2, ContainerType3>::FaceContainer::value_type::HasVFAdjacency();
|
return TriMesh < ContainerType0 , ContainerType1, ContainerType2, ContainerType3>::FaceContainer::value_type::HasVFAdjacency();
|
||||||
}
|
}
|
||||||
|
|
|
@ -422,6 +422,8 @@ namespace io {
|
||||||
|
|
||||||
static int LoadControllerMesh(ColladaMesh& m, InfoDAE& info, const QDomElement& geo,QMap<QString, QString> materialBindingMap, CallBackPos *cb=0)
|
static int LoadControllerMesh(ColladaMesh& m, InfoDAE& info, const QDomElement& geo,QMap<QString, QString> materialBindingMap, CallBackPos *cb=0)
|
||||||
{
|
{
|
||||||
|
(void)cb;
|
||||||
|
|
||||||
assert(geo.tagName() == "controller");
|
assert(geo.tagName() == "controller");
|
||||||
QDomNodeList skinList = geo.toElement().elementsByTagName("skin");
|
QDomNodeList skinList = geo.toElement().elementsByTagName("skin");
|
||||||
if(skinList.size()!=1) return E_CANTOPEN;
|
if(skinList.size()!=1) return E_CANTOPEN;
|
||||||
|
|
Loading…
Reference in New Issue