From b11c13fb9fa3226ec936587de9f76c177311e326 Mon Sep 17 00:00:00 2001 From: Mathias Froehlich Date: Fri, 16 Mar 2012 07:27:44 +0100 Subject: [PATCH] scenery: Really, most people don't care for the noise. --- simgear/scene/util/StateAttributeFactory.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/simgear/scene/util/StateAttributeFactory.cxx b/simgear/scene/util/StateAttributeFactory.cxx index 52325117..5b52ed64 100644 --- a/simgear/scene/util/StateAttributeFactory.cxx +++ b/simgear/scene/util/StateAttributeFactory.cxx @@ -32,6 +32,8 @@ #include +#include + #include "Noise.hxx" using namespace osg; @@ -107,7 +109,7 @@ osg::Image* make3DNoiseImage(int texSize) GLubyte *ptr; double amp = 0.5; - osg::notify(osg::WARN) << "creating 3D noise texture... "; + SG_LOG(SG_TERRAIN, SG_BULK, "creating 3D noise texture... "); for (f = 0, inc = 0; f < numOctaves; ++f, frequency *= 2, ++inc, amp *= 0.5) { @@ -130,7 +132,8 @@ osg::Image* make3DNoiseImage(int texSize) } } - osg::notify(osg::WARN) << "DONE" << std::endl; + SG_LOG(SG_TERRAIN, SG_BULK, "DONE"); + return image; }