diff --git a/ParaViewCore/ClientServerCore/Rendering/vtkImageSliceRepresentation.cxx b/ParaViewCore/ClientServerCore/Rendering/vtkImageSliceRepresentation.cxx index 86f8ba3cf0b4919f234073fcc566d7f017c98fa0..80ea5bf89cc9b8ece3fabaea6ab389ac4fc1f419 100644 --- a/ParaViewCore/ClientServerCore/Rendering/vtkImageSliceRepresentation.cxx +++ b/ParaViewCore/ClientServerCore/Rendering/vtkImageSliceRepresentation.cxx @@ -166,8 +166,17 @@ int vtkImageSliceRepresentation::RequestData(vtkInformation* request, if (inputVector[0]->GetNumberOfInformationObjects()==1) { this->UpdateSliceData(inputVector); - this->CacheKeeper->Update(); } + else + { + // This happens on the client in client-server mode. We simply mark the data + // dirty so that the "delivery" code can fetch new data. + if (!this->GetUsingCacheForUpdate()) + { + this->SliceData->Modified(); + } + } + this->CacheKeeper->Update(); return this->Superclass::RequestData(request, inputVector, outputVector); }