From 1413eea52c76a8f548dbba14f5979d685171c08e Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 24 Aug 2006 16:33:23 +0000 Subject: [PATCH] Add error message report to catch attempts to flip mipmap images. --- src/osg/Image.cpp | 39 ++++++++++++++++++++++++--------------- 1 file changed, 24 insertions(+), 15 deletions(-) diff --git a/src/osg/Image.cpp b/src/osg/Image.cpp index c09642b28..bc432281c 100644 --- a/src/osg/Image.cpp +++ b/src/osg/Image.cpp @@ -723,32 +723,41 @@ void Image::flipHorizontal() { if (_data==NULL) { - notify(WARN) << "Error Image::flipHorizontal() do not succeed : cannot flip NULL image."<