Skip to content
Snippets Groups Projects
Verified Commit 8bad31f2 authored by Sankhesh Jhaveri's avatar Sankhesh Jhaveri :speech_balloon:
Browse files

Update camera orientation representation handles

This change ensures that the camera orientation widget handles are
updated at build time. This allows arbitary calls to BuildRepresentation
to yield updated handles.
parent 5a0129e4
No related branches found
No related tags found
No related merge requests found
......@@ -368,6 +368,7 @@ void vtkCameraOrientationRepresentation::BuildRepresentation()
{
this->CreateDefaultGeometry();
this->PositionHandles();
this->HighlightHandle();
this->BuildTime.Modified();
}
}
......@@ -618,7 +619,6 @@ vtkTransform* vtkCameraOrientationRepresentation::GetTransform()
int vtkCameraOrientationRepresentation::RenderOpaqueGeometry(vtkViewport* vp)
{
this->BuildRepresentation();
this->HighlightHandle();
int count = 0;
......
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