From 124713b1367402da5137a69ac9707784b3d41b31 Mon Sep 17 00:00:00 2001 From: Tim Moore Date: Wed, 2 Dec 2009 07:27:23 +0100 Subject: [PATCH] set DYNAMIC variance on gui and hud/2dpanel drawables --- src/Main/renderer.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Main/renderer.cxx b/src/Main/renderer.cxx index ece25ec32..2f1c5db0f 100644 --- a/src/Main/renderer.cxx +++ b/src/Main/renderer.cxx @@ -138,6 +138,7 @@ public: { // Dynamic stuff, do not store geometry setUseDisplayList(false); + setDataVariance(Object::DYNAMIC); osg::StateSet* stateSet = getOrCreateStateSet(); stateSet->setRenderBinDetails(1001, "RenderBin"); @@ -183,6 +184,7 @@ public: { // Dynamic stuff, do not store geometry setUseDisplayList(false); + setDataVariance(Object::DYNAMIC); osg::StateSet* stateSet = getOrCreateStateSet(); stateSet->setRenderBinDetails(1000, "RenderBin");