Skip to content

Commit

Permalink
Fix vtkGlyph3DRepresentation in client-server mode.
Browse files Browse the repository at this point in the history
When the input connection to port 1 changed, in client-server mode, the
vtkGlyph3DRepresentation failed to deliver data for the same as the
GlyphMultiBlockMaker didn't execute. This forces the execution.
  • Loading branch information
utkarshayachit authored and David C. Lonie committed Mar 28, 2017
1 parent eaf2b79 commit d3ef279
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -180,6 +180,12 @@ int vtkGlyph3DRepresentation::RequestData(

this->GlyphMultiBlockMaker->SetInputConnection(glyphSourcePort);

// This is needed as for some reason when the input connection is changed,
// in client-server mode, the GlyphMultiBlockMaker decides not to reexecute on
// the client. That's throws of all logic to determine if data needs to be
// delivered etc.
this->GlyphMultiBlockMaker->Modified();

this->GlyphCacheKeeper->SetCachingEnabled(this->GetUseCache());
this->GlyphCacheKeeper->SetCacheTime(this->GetCacheKey());
this->GlyphCacheKeeper->Update();
Expand Down

0 comments on commit d3ef279

Please sign in to comment.