From 717cb182cec1454dbab94b1be4a86195f77ad3a7 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 23 Mar 2017 09:52:21 +0000 Subject: [PATCH] Removed hardwaring to online write inine when writing to binary files to allow inline images in asci and binary files --- src/osgDB/OutputStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgDB/OutputStream.cpp b/src/osgDB/OutputStream.cpp index 41e72ae55..9849bfb2d 100644 --- a/src/osgDB/OutputStream.cpp +++ b/src/osgDB/OutputStream.cpp @@ -456,7 +456,7 @@ void OutputStream::writeImage( const osg::Image* img ) default: if ( img->getWriteHint()==osg::Image::EXTERNAL_FILE ) decision = IMAGE_EXTERNAL; - else if ( isBinary() ) + else decision = IMAGE_INLINE_DATA; break; }