removed previous patch
This commit is contained in:
parent
3b362fc1e2
commit
7bfa17ffa6
|
@ -510,8 +510,6 @@ namespace io {
|
||||||
QDomNode imageNode = findNodeBySpecificAttributeValue(libraryImageNodeList.at(0),QString("image"),QString("id"),img_id);
|
QDomNode imageNode = findNodeBySpecificAttributeValue(libraryImageNodeList.at(0),QString("image"),QString("id"),img_id);
|
||||||
QDomNodeList initfromNode = imageNode.toElement().elementsByTagName("init_from");
|
QDomNodeList initfromNode = imageNode.toElement().elementsByTagName("init_from");
|
||||||
textureFileName= initfromNode.at(0).firstChild().nodeValue();
|
textureFileName= initfromNode.at(0).firstChild().nodeValue();
|
||||||
if (!textureFileName.isNull() && textureFileName.at(0) != '/')
|
|
||||||
textureFileName.insert(0,"./");
|
|
||||||
qDebug("====== the image '%s' has a %i init_from nodes text '%s'",qPrintable(img_id),initfromNode.size(),qPrintable(textureFileName));
|
qDebug("====== the image '%s' has a %i init_from nodes text '%s'",qPrintable(img_id),initfromNode.size(),qPrintable(textureFileName));
|
||||||
|
|
||||||
return imageNode;
|
return imageNode;
|
||||||
|
|
Loading…
Reference in New Issue