From 30238fed239e10a6334a09246c77f67644664ff0 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Mon, 19 May 2014 20:06:02 +0000 Subject: [PATCH] EgtGraphics : - ricompilazione. --- SceneGeom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SceneGeom.cpp b/SceneGeom.cpp index 829ecec..2869f39 100644 --- a/SceneGeom.cpp +++ b/SceneGeom.cpp @@ -271,7 +271,7 @@ Scene::DrawGeoObj( const IGdbIterator& iIter, int nPass, MdStMk siObj) Triangle3d Tria ; TriNormals3d TNrms ; int nId = pSTM->GetFirstTriangle( Tria) ; - while ( nId != -1) { + while ( nId != SVT_NULL) { pSTM->GetTriangleSmoothNormals( nId, TNrms) ; pGraphics->AddTriangle( Tria, TNrms) ; nId = pSTM->GetNextTriangle( nId, Tria) ;