From aac6cdac3d681a86c7650938fa7004ec00f6a346 Mon Sep 17 00:00:00 2001 From: Marco Callieri Date: Tue, 20 Mar 2018 09:57:23 +0100 Subject: [PATCH] imagetexture url must be a MFString (double quote) --- src/meshlabplugins/io_x3d/export_x3d.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meshlabplugins/io_x3d/export_x3d.h b/src/meshlabplugins/io_x3d/export_x3d.h index 8f7b5e56d..f6d925b4f 100644 --- a/src/meshlabplugins/io_x3d/export_x3d.h +++ b/src/meshlabplugins/io_x3d/export_x3d.h @@ -234,7 +234,7 @@ namespace io { { QDomElement appearance = doc.createElement("Appearance"); QDomElement imageTexture = doc.createElement("ImageTexture"); - imageTexture.setAttribute("url", m.textures[indexTexture].c_str()); + imageTexture.setAttribute("url", ("\"" + m.textures[indexTexture] + "\"").c_str()); appearance.appendChild(imageTexture); shape.appendChild(appearance); }