From 1202b98acc8496e66fed095d0a6cad9ed509217a Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 13 Jan 2010 13:30:45 +0000 Subject: [PATCH] Changed get methods to new style ones. --- src/osgPlugins/ive/Sequence.cpp | 8 ++------ src/osgPlugins/osg/Sequence.cpp | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/src/osgPlugins/ive/Sequence.cpp b/src/osgPlugins/ive/Sequence.cpp index 6a4dc1fc4..8ee1f815c 100644 --- a/src/osgPlugins/ive/Sequence.cpp +++ b/src/osgPlugins/ive/Sequence.cpp @@ -76,14 +76,10 @@ void Sequence::write(DataOutputStream* out) if (out->getVersion() >= VERSION_0022) { // Write sync as an integer - bool sync ; - getSync(sync) ; - out->writeInt((int)sync) ; + out->writeInt((int)getSync()) ; // Write clearOnStop as an integer - bool clearOnStop ; - getClearOnStop(clearOnStop) ; - out->writeInt((int)clearOnStop) ; + out->writeInt((int)getClearOnStop()) ; } } diff --git a/src/osgPlugins/osg/Sequence.cpp b/src/osgPlugins/osg/Sequence.cpp index f50545ea9..ee4485367 100644 --- a/src/osgPlugins/osg/Sequence.cpp +++ b/src/osgPlugins/osg/Sequence.cpp @@ -229,14 +229,10 @@ bool Sequence_writeLocalData(const Object& obj, Output& fw) fw.indent() << "mode " << Sequence_getSeqMode(sw.getMode()) << std::endl; // sync - bool sync ; - sw.getSync(sync); - fw.indent() << "sync " << (int) sync << std::endl; + fw.indent() << "sync " << (int) sw.getSync() << std::endl; // clearOnStop - bool clearOnStop ; - sw.getClearOnStop(clearOnStop); - fw.indent() << "clearOnStop " << (int) clearOnStop << std::endl; + fw.indent() << "clearOnStop " << (int) sw.getClearOnStop() << std::endl; return true; }