From 1c0f3f1b2efb47c8a68043bf38e02132aeb6f0ad Mon Sep 17 00:00:00 2001 From: aramis_acg Date: Tue, 19 Jan 2010 16:32:41 +0000 Subject: [PATCH] BUGFIX: Fix typo in PlyLoader.cpp. Thanks to Chris Maiwald for the bugreport. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@529 67173fc5-114c-0410-ac8e-9d2fd5bffc1f --- CREDITS | 7 +++++-- code/PlyLoader.cpp | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CREDITS b/CREDITS index c32836df6..9579afc95 100644 --- a/CREDITS +++ b/CREDITS @@ -39,7 +39,7 @@ supplied a bugfix concerning the scaling in the md3 loader. submitted patches to make Assimp compile with GCC-4, a makefile and the xcode3 workspace. - Andreas Nagel -tested Assimp under Windows Vista 64 Bit. +first Assimp testing & verification under Windows Vista 64 Bit. - Marius Schröder allowed us to use many of his models for screenshots and testing. @@ -48,7 +48,7 @@ allowed us to use many of his models for screenshots and testing. supplied various XFiles for testing purposes. - Tizian Wieland -searched the web for several thousands of test models for internal use +searched the web for hundreds of test models for internal use - John Connors supplied patches for linux and SCons. @@ -73,3 +73,6 @@ Improvements in OpenGL-Sample. - Robert Ramirez Add group loading feature to Obj-Loader. + +- Chris Maiwald +Many bugreports, improving Assimp's portability, regular testing & feedback. diff --git a/code/PlyLoader.cpp b/code/PlyLoader.cpp index d99322fe7..b7b022461 100644 --- a/code/PlyLoader.cpp +++ b/code/PlyLoader.cpp @@ -978,7 +978,7 @@ void PLYImporter::LoadMaterial(std::vector* pvOut) } else if (PLY::EST_AmbientBlue == (*a).Semantic) { - aaiPositions[22][2] = _a; + aaiPositions[2][2] = _a; aaiTypes[2][2] = (*a).eType; } else if (PLY::EST_AmbientAlpha == (*a).Semantic)