From 2e735e623484c72028754540457fe8abb010fed0 Mon Sep 17 00:00:00 2001 From: Frederic Bouvier Date: Sun, 25 Mar 2012 19:05:10 +0200 Subject: [PATCH] Warn of harmless messages caused by the Rembrandt renderer --- src/Main/renderer.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Main/renderer.cxx b/src/Main/renderer.cxx index cd9515264..5083f89da 100644 --- a/src/Main/renderer.cxx +++ b/src/Main/renderer.cxx @@ -903,6 +903,7 @@ const char *fog_frag_src = "" osg::Camera* FGRenderer::buildDeferredLightingCamera( flightgear::CameraInfo* info, osg::GraphicsContext* gc ) { + SG_LOG( SG_INPUT, SG_ALERT, "Harmless warning messages on effects not found beyond this point" ); osg::Camera* camera = new osg::Camera; info->addCamera(flightgear::LIGHTING_CAMERA, camera ); @@ -1088,6 +1089,8 @@ osg::Camera* FGRenderer::buildDeferredLightingCamera( flightgear::CameraInfo* in camera->addChild( lightingGroup ); + SG_LOG( SG_INPUT, SG_ALERT, "End of harmless warning messages on effects not found" ); + return camera; } -- 2.39.5