From 4481b81eb88ed11e0c39881fdae44b9404880da8 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 25 Apr 2013 10:52:20 +0000 Subject: [PATCH] 0022204: EDF 2541 PARAVIS : Crash when PARAVIS is loaded after a python component --- src/PVGUI/PVGUI_Module.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PVGUI/PVGUI_Module.cxx b/src/PVGUI/PVGUI_Module.cxx index 442f8aaa..12de4d66 100644 --- a/src/PVGUI/PVGUI_Module.cxx +++ b/src/PVGUI/PVGUI_Module.cxx @@ -529,7 +529,7 @@ void PVGUI_Module::initialize( CAM_Application* app ) bool isStop = aResourceMgr->booleanValue( "PARAVIS", "stop_trace", false ); // start timer to activate trace in a proper moment if(!isStop) - startTimer( 50 ); + startTimer( 1000 ); this->VTKConnect = vtkEventQtSlotConnect::New(); @@ -567,7 +567,7 @@ void PVGUI_Module::onFinishedAddingServer(pqServer* /*server*/) SUIT_ResourceMgr* aResourceMgr = SUIT_Session::session()->resourceMgr(); bool isStop = aResourceMgr->booleanValue( "PARAVIS", "stop_trace", false ); if(!isStop) - startTimer( 50 ); + startTimer( 500 ); } void PVGUI_Module::onDataRepresentationCreated(pqDataRepresentation* data) { -- 2.39.2