mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
Draws world annotations before scene render
This reordering of draw calls is to ensure that volume renderer does not clobber the annotations.
This commit is contained in:
parent
53fb679e91
commit
28c1bc65d7
@ -50,9 +50,11 @@ void View3D::Paint()
|
||||
{
|
||||
this->GetCanvas().Activate();
|
||||
this->GetCanvas().Clear();
|
||||
|
||||
this->SetupForWorldSpace();
|
||||
this->GetScene().Render(this->GetMapper(), this->GetCanvas(), this->GetCamera());
|
||||
this->RenderWorldAnnotations();
|
||||
this->GetScene().Render(this->GetMapper(), this->GetCanvas(), this->GetCamera());
|
||||
|
||||
this->SetupForScreenSpace();
|
||||
this->RenderAnnotations();
|
||||
this->RenderScreenAnnotations();
|
||||
|
Loading…
Reference in New Issue
Block a user