diff --git a/include/osgDB/Output b/include/osgDB/Output index 984a8564f..40033725e 100644 --- a/include/osgDB/Output +++ b/include/osgDB/Output @@ -36,9 +36,12 @@ class OSGDB_EXPORT Output : public std::ofstream virtual ~Output(); - void setOptions(const ReaderWriter::Options* options) { _options = options; } + void setOptions(const ReaderWriter::Options* options); const ReaderWriter::Options* getOptions() const { return _options.get(); } + void setWriteOutDefaultValues(bool flag) { _writeOutDefaultValues = flag; } + bool getWriteOutDefaultValues() const { return _writeOutDefaultValues; } + void open(const char *name); // comment out temporarily to avoid compilation problems, RO Jan 2002. @@ -111,6 +114,7 @@ class OSGDB_EXPORT Output : public std::ofstream bool _outputTextureFiles; unsigned int _textureFileNameNumber; + bool _writeOutDefaultValues; }; }