diff --git a/src/osgPlugins/ive/ReaderWriterIVE.cpp b/src/osgPlugins/ive/ReaderWriterIVE.cpp index f33a50c2b..93b370ec2 100644 --- a/src/osgPlugins/ive/ReaderWriterIVE.cpp +++ b/src/osgPlugins/ive/ReaderWriterIVE.cpp @@ -89,13 +89,9 @@ class ReaderWriterIVE : public ReaderWriter return e.getError(); } } - + virtual ReadResult readNode(std::istream& fin, const Options* options) const { -#if 1 - ive::DataInputStream in(&fin, options); - return in.readNode(); -#else try{ // Create datainputstream. ive::DataInputStream in(&fin, options); @@ -106,11 +102,8 @@ class ReaderWriterIVE : public ReaderWriter { return e.getError(); } -#endif } - - virtual WriteResult writeObject(const Object& object,const std::string& fileName, const osgDB::ReaderWriter::Options* options) const { const Node* node = dynamic_cast(&object);