From 56bde62d801c0bce0ca4b15cebd3413687ee0d30 Mon Sep 17 00:00:00 2001 From: cignoni Date: Wed, 3 Mar 2010 15:57:58 +0000 Subject: [PATCH] removed old 'uber' access to component members --- wrap/io_trimesh/export_ply.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wrap/io_trimesh/export_ply.h b/wrap/io_trimesh/export_ply.h index e40938f2..bd4a7a89 100644 --- a/wrap/io_trimesh/export_ply.h +++ b/wrap/io_trimesh/export_ply.h @@ -447,9 +447,9 @@ static int Save(SaveMeshType &m, const char * filename, bool binary, PlyInfo &p { float t; - t = float(vp->UberP()[0]); fwrite(&t,sizeof(float),1,fpout); - t = float(vp->UberP()[1]); fwrite(&t,sizeof(float),1,fpout); - t = float(vp->UberP()[2]); fwrite(&t,sizeof(float),1,fpout); + t = float(vp->P()[0]); fwrite(&t,sizeof(float),1,fpout); + t = float(vp->P()[1]); fwrite(&t,sizeof(float),1,fpout); + t = float(vp->P()[2]); fwrite(&t,sizeof(float),1,fpout); if( HasPerVertexNormal(m) && (pi.mask & Mask::IOM_VERTNORMAL) ) {