From ea98b1a9f8a4aa532fad7a687329c65c5a04c23e Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 28 Oct 2010 14:01:10 +0000 Subject: [PATCH] Improved code style consistency --- src/osgPlugins/ive/Geometry.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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()); }