We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9250b52 commit ff921f6Copy full SHA for ff921f6
src/gui/guiFormSpecMenu.cpp
@@ -2787,7 +2787,7 @@ void GUIFormSpecMenu::parseModel(parserData *data, const std::string &element)
2787
auto meshnode = e->setMesh(mesh);
2788
2789
for (u32 i = 0; i < textures.size() && i < meshnode->getMaterialCount(); ++i)
2790
- e->setTexture(i, m_tsrc->getTexture(textures[i]));
+ e->setTexture(i, m_tsrc->getTexture(unescape_string(textures[i])));
2791
2792
if (vec_rot.size() >= 2)
2793
e->setRotation(v2f(stof(vec_rot[0]), stof(vec_rot[1])));
0 commit comments