From 9bbba5a052380ec2a626939bec7d9919cc7e699e Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 26 Oct 2005 20:30:15 +0000 Subject: [PATCH] From Don Tidrow, bug fix to setOutputTextureFiles(bool). --- include/osgDB/Output | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/osgDB/Output b/include/osgDB/Output index c97a09bf4..e94df2ba8 100644 --- a/include/osgDB/Output +++ b/include/osgDB/Output @@ -82,7 +82,7 @@ class OSGDB_EXPORT Output : public std::ofstream virtual std::string getFileNameForOutput(const std::string& filename) const; const std::string& getFileName() const { return _filename; } - void setOutputTextureFiles(bool flag) { _outputTextureFiles = true; } + void setOutputTextureFiles(bool flag) { _outputTextureFiles = flag; } bool getOutputTextureFiles() const { return _outputTextureFiles; } virtual std::string getTextureFileNameForOutput();