Skip to content
Snippets Groups Projects
Commit a98281bc authored by Jaswant Panchumarti (Kitware)'s avatar Jaswant Panchumarti (Kitware)
Browse files

Fix camera orientation widget positioning

- invoke WindowResizeEvent when size changes.
- vtk/vtk!10622 removed the call to Superclass:SetSize which invoked WindowResizeEvent. This commit brings back the equivalent code.
parent 902919df
No related branches found
No related tags found
No related merge requests found
......@@ -162,6 +162,8 @@ void vtkSDL2OpenGLRenderWindow::SetSize(int x, int y)
{
this->Interactor->SetSize(this->Size[0], this->Size[1]);
}
this->Modified();
this->InvokeEvent(vtkCommand::WindowResizeEvent, nullptr);
}
}
......
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