From 4fa383f388846988364b212297b7f80762f70ca5 Mon Sep 17 00:00:00 2001 From: cignoni Date: Tue, 20 Mar 2007 16:47:50 +0000 Subject: [PATCH] Update to the new texture syntax --- wrap/io_trimesh/export_vrml.h | 5 ++++- wrap/io_trimesh/import_dae.h | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/wrap/io_trimesh/export_vrml.h b/wrap/io_trimesh/export_vrml.h index be02997d..25916c23 100644 --- a/wrap/io_trimesh/export_vrml.h +++ b/wrap/io_trimesh/export_vrml.h @@ -23,6 +23,9 @@ /**************************************************************************** History $Log: not supported by cvs2svn $ +Revision 1.4 2006/11/21 19:22:53 e_cerisoli +Added Comments for documentation + ****************************************************************************/ #ifndef __VCGLIB_EXPORT_WRL @@ -209,7 +212,7 @@ namespace vcg { " ]\n" ); } - else if (HasPerWedgeTexture(m) &&(mask & vcg::tri::io::Mask::IOM_WEDGTEXCOORD)) + else if (HasPerWedgeTexCoord(m) &&(mask & vcg::tri::io::Mask::IOM_WEDGTEXCOORD)) { fprintf(fp, "\n" diff --git a/wrap/io_trimesh/import_dae.h b/wrap/io_trimesh/import_dae.h index c81cff61..c3e74b02 100644 --- a/wrap/io_trimesh/import_dae.h +++ b/wrap/io_trimesh/import_dae.h @@ -392,7 +392,7 @@ namespace io { info->dae->doc = doc; - GetTexture(*(info->dae->doc),info); + GetTexCoord(*(info->dae->doc),info); QDomNodeList scenes = info->dae->doc->elementsByTagName("scene"); int scn_size = scenes.size();