mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
commit
fb97d3e04b
2 changed files with 7 additions and 2 deletions
|
@ -1228,6 +1228,9 @@ void Application::initMenu() {
|
|||
(_renderAtmosphereOn = renderMenu->addAction("Atmosphere"))->setCheckable(true);
|
||||
_renderAtmosphereOn->setChecked(true);
|
||||
_renderAtmosphereOn->setShortcut(Qt::SHIFT | Qt::Key_A);
|
||||
(_renderGroundPlaneOn = renderMenu->addAction("Ground Plane"))->setCheckable(true);
|
||||
_renderGroundPlaneOn->setChecked(true);
|
||||
_renderGroundPlaneOn->setShortcut(Qt::SHIFT | Qt::Key_G);
|
||||
(_renderAvatarsOn = renderMenu->addAction("Avatars"))->setCheckable(true);
|
||||
_renderAvatarsOn->setChecked(true);
|
||||
(_renderAvatarBalls = renderMenu->addAction("Avatar as Balls"))->setCheckable(true);
|
||||
|
@ -1950,8 +1953,9 @@ void Application::displaySide(Camera& whichCamera) {
|
|||
glPopMatrix();
|
||||
|
||||
//draw a grid ground plane....
|
||||
drawGroundPlaneGrid(EDGE_SIZE_GROUND_PLANE);
|
||||
|
||||
if (_renderGroundPlaneOn->isChecked()) {
|
||||
drawGroundPlaneGrid(EDGE_SIZE_GROUND_PLANE);
|
||||
}
|
||||
// Draw voxels
|
||||
if (_renderVoxels->isChecked()) {
|
||||
_voxels.render(_renderVoxelTextures->isChecked());
|
||||
|
|
|
@ -181,6 +181,7 @@ private:
|
|||
QAction* _renderVoxelTextures; // Whether to render noise textures on voxels
|
||||
QAction* _renderStarsOn; // Whether to display the stars
|
||||
QAction* _renderAtmosphereOn; // Whether to display the atmosphere
|
||||
QAction* _renderGroundPlaneOn; // Whether to display the ground plane
|
||||
QAction* _renderAvatarsOn; // Whether to render avatars
|
||||
QAction* _renderStatsOn; // Whether to show onscreen text overlay with stats
|
||||
QAction* _renderFrameTimerOn; // Whether to show onscreen text overlay with stats
|
||||
|
|
Loading…
Reference in a new issue