Commit b6f798c0 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit

Fixed broken surface selection.

Just some code that need to use the new API for gather information.
parent 6bbe2f44
......@@ -616,13 +616,9 @@ bool vtkSMRenderViewProxy::FetchLastSelection(
{
vtkSmartPointer<vtkPVLastSelectionInformation> info =
vtkSmartPointer<vtkPVLastSelectionInformation>::New();
#ifdef FIXME_COLLABORATION
// we have no API on vtkSMProxy to tell it to gather information from a
// specific server.
vtkProcessModule* pm = vtkProcessModule::GetProcessModule();
pm->GatherInformation(this->ConnectionID,
vtkProcessModule::DATA_SERVER, info, this->GetID());
#endif
this->GetSession()->GatherInformation(
vtkPVSession::DATA_SERVER, info, this->GetGlobalID());
vtkSelection* selection = info->GetSelection();
if (!multiple_selections)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment