No regression observed in PV3DViewer with this change.
myDesktop = theDesktop;
myModel = theModel;
setViewManager(myModel->getViewManager());
- pqActiveObjects::instance().setActiveView(nullptr);
+ // This may improve synchronization between PV3DViewer and PVViewer
+ // but this make the PVViewer not active when ParaVIS is launched,
+ // which results in a new RenderView being created when a dataset is displayed.
+ // So we comment it for now.
+ //pqActiveObjects::instance().setActiveView(nullptr);
myPVMgr = qobject_cast<pqTabbedMultiViewWidget*>(pqApplicationCore::instance()->manager("MULTIVIEW_WIDGET"));
if (myPVMgr) {
SUIT_Application* app = SUIT_Session::session()->activeApplication();