Commit 4bf7a8bd authored by Utkarsh Ayachit's avatar Utkarsh Ayachit

Making vtkClientServerMoveData use the first session.

Fixes issues with no active session being set on client when scrolling.
parent 6752f559
......@@ -136,7 +136,7 @@ int vtkClientServerMoveData::RequestData(vtkInformation*,
if (this->ProcessType == AUTO)
{
vtkPVSession* session = vtkPVSession::SafeDownCast(
vtkProcessModule::GetProcessModule()->GetActiveSession());
vtkProcessModule::GetProcessModule()->GetSession());
if (!session)
{
vtkErrorMacro("No active ParaView session");
......
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