Skip to content
Snippets Groups Projects
Commit 2929ca22 authored by Mathieu Westphal (Kitware)'s avatar Mathieu Westphal (Kitware) :zap: Committed by Kitware Robot
Browse files

Merge topic 'fix_unitialized_vtkViewport'


cf749543 Fix uninitialised values in vtkViewport

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Acked-by: default avatarMichael Migliore <mcmigliore@gmail.com>
Acked-by: default avatarKen Martin <ken.martin@kitware.com>
Merge-request: !8682
parents d7801e99 cf749543
No related branches found
No related tags found
No related merge requests found
......@@ -93,6 +93,10 @@ vtkViewport::vtkViewport()
this->Props = vtkPropCollection::New();
this->Actors2D = vtkActor2DCollection::New();
this->LastComputeAspectSize.fill(-1);
this->LastComputeAspectVPort.fill(-1);
this->LastComputeAspectPixelAspect.fill(-1);
}
//------------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment