1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-29 14:52:12 +01:00

ModelView: set rear view as default (makes more sense for R/C than front view)

This commit is contained in:
Oleg Semyonov 2012-11-15 22:23:39 +02:00
parent 9ece418912
commit 8134db4453

View File

@ -114,7 +114,7 @@ void ModelViewGadgetWidget::initializeGL()
m_Light.setAmbientColor(Qt::lightGray);
m_GlView.cameraHandle()->setDefaultUpVector(glc::Z_AXIS);
m_GlView.cameraHandle()->setFrontView();
m_GlView.cameraHandle()->setRearView();
m_GlView.setToOrtho(true); // orthogonal view
glEnable(GL_NORMALIZE);