diff --git a/wrap/dae/util_dae.h b/wrap/dae/util_dae.h index 614c1810..8dd30bde 100644 --- a/wrap/dae/util_dae.h +++ b/wrap/dae/util_dae.h @@ -510,8 +510,6 @@ namespace io { QDomNode imageNode = findNodeBySpecificAttributeValue(libraryImageNodeList.at(0),QString("image"),QString("id"),img_id); QDomNodeList initfromNode = imageNode.toElement().elementsByTagName("init_from"); 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)); return imageNode;