Commit 6980b2be authored by David Lonie's avatar David Lonie Committed by Kitware Robot
Browse files

Merge topic 'labeled_contour_update_data'

75dd5c60

 Ensure that input data is synced.
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Reviewed-by: default avatarDavid E DeMarle <dave.demarle@kitware.com>
Merge-request: !388
parents 8d1e8db2 75dd5c60
......@@ -233,6 +233,12 @@ vtkLabeledContourMapper::~vtkLabeledContourMapper()
//------------------------------------------------------------------------------
void vtkLabeledContourMapper::Render(vtkRenderer *ren, vtkActor *act)
{
// Make sure input data is synced
if (vtkAlgorithm *inputAlgorithm = this->GetInputAlgorithm())
{
inputAlgorithm->Update();
}
if (!this->CheckInputs(ren))
{
return;
......
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