From ba30890a76b5488ed3bded03c36be1767fd79d6c Mon Sep 17 00:00:00 2001 From: epa Date: Mon, 30 Oct 2006 08:29:16 +0000 Subject: [PATCH] Add "display only" functionality for created mesh(PAL13556) --- src/VISUGUI/VisuGUI_Tools.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/VISUGUI/VisuGUI_Tools.cxx b/src/VISUGUI/VisuGUI_Tools.cxx index 1ffbc399..f1a23c01 100644 --- a/src/VISUGUI/VisuGUI_Tools.cxx +++ b/src/VISUGUI/VisuGUI_Tools.cxx @@ -1105,6 +1105,10 @@ namespace VISU Utils_Timer timer; timer.Start(); #endif + if(GetResourceMgr()->booleanValue("VISU","display_only",false)){ + const VisuGUI* av = dynamic_cast(theModule); + if(av)(const_cast(av))->OnEraseAll(); + } PublishMeshInView(theModule, pPresent, theViewWindow); SetFitAll(theViewWindow); #ifdef CHECKTIME -- 2.39.2