From 73c7cfe4cb2daad313bb1240735cb318cd199943 Mon Sep 17 00:00:00 2001 From: Gianpaolo Palma gianpaolopalma Date: Mon, 4 Feb 2008 13:28:36 +0000 Subject: [PATCH] Added management to texture coordinates per vertex --- src/fgt/io_x3d/io_x3d.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/fgt/io_x3d/io_x3d.cpp b/src/fgt/io_x3d/io_x3d.cpp index 47b7abb39..b00e7b247 100644 --- a/src/fgt/io_x3d/io_x3d.cpp +++ b/src/fgt/io_x3d/io_x3d.cpp @@ -23,6 +23,9 @@ /**************************************************************************** History $Log$ + Revision 1.2 2008/02/04 13:28:36 gianpaolopalma + Added management to texture coordinates per vertex + Revision 1.1 2008/02/02 13:41:08 gianpaolopalma First working version @@ -100,7 +103,8 @@ bool IoX3DPlugin::open(const QString &formatName, const QString &fileName, MeshM */ - + if (info->mask & MeshModel::IOM_VERTTEXCOORD) + info->mask |= MeshModel::IOM_WEDGTEXCOORD; m.Enable(info->mask); /*for(unsigned int tx = 0; tx < info->texturefile.size();++tx) m.cm.textures.push_back(info->texturefile[tx].toStdString());