From a184a620e496f0985f450058e090a74b436bfe19 Mon Sep 17 00:00:00 2001 From: cignoni Date: Thu, 8 Apr 2010 16:49:50 +0000 Subject: [PATCH] corrected the vertical orientation of texture to be consistent with per wedge tex coords --- wrap/io_trimesh/import_ply.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrap/io_trimesh/import_ply.h b/wrap/io_trimesh/import_ply.h index 798d99f5..48c5c152 100644 --- a/wrap/io_trimesh/import_ply.h +++ b/wrap/io_trimesh/import_ply.h @@ -762,7 +762,7 @@ static int Open( OpenMeshType &m, const char * filename, PlyInfo &pi ) if( pi.mask & Mask::IOM_VERTTEXCOORD ) { (*vi).T().P().X() = va.u; - (*vi).T().P().Y() = 1.0-va.v; // because "v" attr comes from "t" + (*vi).T().P().Y() = va.v; } if( pi.mask & Mask::IOM_VERTCOLOR )