Skip to content

Commit

Permalink
Resize render window in expose event to correctly scale the content (#74
Browse files Browse the repository at this point in the history
)
  • Loading branch information
greimela-si authored and wjwwood committed Oct 20, 2017
1 parent 02d72fb commit f0bee03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rviz_rendering/src/rviz_rendering/render_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ RenderWindow::exposeEvent(QExposeEvent * expose_event)
Q_UNUSED(expose_event);

if (this->isExposed()) {
impl_->resize(this->width(), this->height());
this->renderNow();
}
}
Expand Down

0 comments on commit f0bee03

Please sign in to comment.