From 07029ea363905ca6cfa07774a11feae507e9a9aa Mon Sep 17 00:00:00 2001 From: kimmi Date: Thu, 24 Dec 2009 11:28:54 +0000 Subject: [PATCH] BUGFIX: Fix compiler warning: wrong initialization order in initlist. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@517 67173fc5-114c-0410-ac8e-9d2fd5bffc1f --- code/TerragenLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/TerragenLoader.cpp b/code/TerragenLoader.cpp index b4a8bbf70..bfb6d6eb2 100644 --- a/code/TerragenLoader.cpp +++ b/code/TerragenLoader.cpp @@ -198,7 +198,7 @@ void TerragenImporter::InternReadFile( const std::string& pFile, aiVector3D* pv = m->mVertices = new aiVector3D[m->mNumVertices = m->mNumFaces*4]; aiVector3D *uv( NULL ); - float step_y( 0.0f ),step_x( 0.0f ); + float step_y( 0.0f ), step_x( 0.0f ); if (configComputeUVs) { uv = m->mTextureCoords[0] = new aiVector3D[m->mNumVertices]; step_y = 1.f/y;