Update to the new texture syntax

This commit is contained in:
Paolo Cignoni 2007-03-20 16:47:50 +00:00
parent 10384cd0df
commit 4fa383f388
2 changed files with 5 additions and 2 deletions

View File

@ -23,6 +23,9 @@
/**************************************************************************** /****************************************************************************
History History
$Log: not supported by cvs2svn $ $Log: not supported by cvs2svn $
Revision 1.4 2006/11/21 19:22:53 e_cerisoli
Added Comments for documentation
****************************************************************************/ ****************************************************************************/
#ifndef __VCGLIB_EXPORT_WRL #ifndef __VCGLIB_EXPORT_WRL
@ -209,7 +212,7 @@ namespace vcg {
" ]\n" " ]\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, fprintf(fp,
"\n" "\n"

View File

@ -392,7 +392,7 @@ namespace io {
info->dae->doc = doc; info->dae->doc = doc;
GetTexture(*(info->dae->doc),info); GetTexCoord(*(info->dae->doc),info);
QDomNodeList scenes = info->dae->doc->elementsByTagName("scene"); QDomNodeList scenes = info->dae->doc->elementsByTagName("scene");
int scn_size = scenes.size(); int scn_size = scenes.size();