From 1c1fce8266a936306cfd97cd1e5714ed10fe9ccf Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 6 Jul 2006 15:47:59 +0000 Subject: [PATCH] Fixed scoping for for loop varaible for VS6.0 build. --- src/osgPlugins/ive/PagedLOD.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/osgPlugins/ive/PagedLOD.cpp b/src/osgPlugins/ive/PagedLOD.cpp index a4cbf637c..fa8225ea1 100644 --- a/src/osgPlugins/ive/PagedLOD.cpp +++ b/src/osgPlugins/ive/PagedLOD.cpp @@ -89,14 +89,14 @@ void PagedLOD::write(DataOutputStream* out) { size = getNumPriorityOffsets(); out->writeInt( size ); - for(int i=0; iwriteFloat( getPriorityOffset( i ) ); } size = getNumPriorityScales(); out->writeInt( size ); - for( int i=0; iwriteFloat( getPriorityScale( i ) ); } @@ -175,7 +175,7 @@ void PagedLOD::read(DataInputStream* in) { // priority offsets: size = in->readInt(); - for( int i=0; ireadFloat(); setPriorityOffset( i, pri_offset ); @@ -183,7 +183,7 @@ void PagedLOD::read(DataInputStream* in) // priority scales: size = in->readInt(); - for( int i=0; ireadFloat(); setPriorityScale( i, pri_scale );