diff --git a/src/osgPlugins/ive/Geometry.cpp b/src/osgPlugins/ive/Geometry.cpp index 9cc272a1d..b22655a97 100644 --- a/src/osgPlugins/ive/Geometry.cpp +++ b/src/osgPlugins/ive/Geometry.cpp @@ -60,11 +60,12 @@ void Geometry::write(DataOutputStream* out){ out->writeBool(getVertexArray()!=0); if (getVertexArray()) { - out->writeArray(getVertexArray()); + out->writeArray(getVertexArray()); } // Write vertex indices if any out->writeBool(getVertexIndices()!=0); - if (getVertexIndices()){ + if (getVertexIndices()) + { out->writeArray(getVertexIndices()); }