[Paraview] vtkSMCollaborationManager::FollowUser(id) doesn't update view

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Thu Jun 9 12:29:36 EDT 2016


Here's the fix:

diff --git a/main.cxx b/main.cxx
index dd47991..0f679ba 100644
--- a/main.cxx
+++ b/main.cxx
@@ -65,7 +65,7 @@ int main(int argc, char* argv[]){
   vtkSMSessionProxyManager* pxm = session->GetSessionProxyManager();

   //Collaboration:
-  vtkSMCollaborationManager *collaboration=vtkSMCollaborationManager::New();
+  vtkSMCollaborationManager *collaboration= session->GetCollaborationManager();
   collaboration->SetSession(session);
   collaboration->UpdateUserInformations();


More information about the ParaView mailing list