From 372c5b636ab20c819da4b0897b361fc962255ecd Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sun, 3 Aug 2003 02:59:48 +0000 Subject: [PATCH] Fixed VC6 for scoping problem in ive plugin. --- src/osgPlugins/ive/PagedLOD.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/osgPlugins/ive/PagedLOD.cpp b/src/osgPlugins/ive/PagedLOD.cpp index 80c9834b9..6fda87f05 100644 --- a/src/osgPlugins/ive/PagedLOD.cpp +++ b/src/osgPlugins/ive/PagedLOD.cpp @@ -93,7 +93,8 @@ void PagedLOD::read(DataInputStream* in){ // Read number of children. int size = in->readInt(); // Read children. - for(int i=0; ireadNode()); } @@ -103,14 +104,14 @@ void PagedLOD::read(DataInputStream* in){ setCenter(in->readVec3()); // Read rangelist size = in->readInt(); - for(int i=0;ireadFloat(); float max = in->readFloat(); setRange(i, min, max); } size = in->readInt(); - for(int i=0;ireadString()); } }