From: vsr Date: Thu, 25 Apr 2013 10:52:20 +0000 (+0000) Subject: 0022204: EDF 2541 PARAVIS : Crash when PARAVIS is loaded after a python component X-Git-Tag: V7_2_0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FV7_2_1_BR;p=modules%2Fparavis.git 0022204: EDF 2541 PARAVIS : Crash when PARAVIS is loaded after a python component --- 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) {