removed previous patch
This commit is contained in:
parent
7bfa17ffa6
commit
d0ec7cad96
|
@ -554,12 +554,7 @@ class ColladaMesh : public vcg::tri::TriMesh< std::vector<ColladaVertex>, std
|
||||||
QDomNodeList nlst = txlst.at(0).childNodes().at(img).toElement().elementsByTagName("init_from");
|
QDomNodeList nlst = txlst.at(0).childNodes().at(img).toElement().elementsByTagName("init_from");
|
||||||
if (nlst.size() > 0)
|
if (nlst.size() > 0)
|
||||||
{
|
{
|
||||||
QString texname = nlst.at(0).firstChild().nodeValue();
|
texturefile.push_back( nlst.at(0).firstChild().nodeValue());
|
||||||
|
|
||||||
if (!texname.isNull() && texname.at(0) != '/')
|
|
||||||
texname.insert(0,"./");
|
|
||||||
|
|
||||||
texturefile.push_back(texname);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue