From: rnv Date: Thu, 9 Jun 2016 15:07:17 +0000 (+0300) Subject: Implementation of the "0023270: [CEA 1822] PARAVIS GUI widgets should be instanciated... X-Git-Tag: V8_1_0a1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7440aef5f1bcc32d34002f157868a7f6c0d7c03f;p=modules%2Fparavis.git Implementation of the "0023270: [CEA 1822] PARAVIS GUI widgets should be instanciated only when needed" feature. --- diff --git a/src/PVGUI/PVGUI_Module_widgets.cxx b/src/PVGUI/PVGUI_Module_widgets.cxx index 4eb1835c..4e1fef2e 100644 --- a/src/PVGUI/PVGUI_Module_widgets.cxx +++ b/src/PVGUI/PVGUI_Module_widgets.cxx @@ -56,6 +56,8 @@ #include #include #include +#include +#include #include #include @@ -238,6 +240,11 @@ void PVGUI_Module::setupDockWidgets() animationViewDock->setObjectName("animationViewDock"); desk->addDockWidget( Qt::BottomDockWidgetArea, animationViewDock ); pqPVAnimationWidget* animation_panel = new ResizeHelper(animationViewDock); // [ABN] was resizeHelper + + // RNV: Emit signal in order to make sure that animation scene is set + emit pqPVApplicationCore::instance()->animationManager()->activeSceneChanged( + pqPVApplicationCore::instance()->animationManager()->getActiveScene()); + animationViewDock->setWidget(animation_panel); myDockWidgets[animationViewDock] = false; // hidden by default