mirror of
https://github.com/overte-org/overte.git
synced 2025-07-29 14:10:07 +02:00
repair bad merge
This commit is contained in:
parent
4477289501
commit
a43615e9dc
1 changed files with 7 additions and 0 deletions
|
@ -2914,6 +2914,9 @@ void Application::displaySide(Camera& whichCamera) {
|
||||||
// Setup 3D lights (after the camera transform, so that they are positioned in world space)
|
// Setup 3D lights (after the camera transform, so that they are positioned in world space)
|
||||||
setupWorldLight(whichCamera);
|
setupWorldLight(whichCamera);
|
||||||
|
|
||||||
|
// prepare the glow effect
|
||||||
|
_glowEffect.prepare();
|
||||||
|
|
||||||
if (_renderStarsOn->isChecked()) {
|
if (_renderStarsOn->isChecked()) {
|
||||||
if (!_stars.getFileLoaded()) {
|
if (!_stars.getFileLoaded()) {
|
||||||
_stars.readInput(STAR_FILE, STAR_CACHE_FILE, 0);
|
_stars.readInput(STAR_FILE, STAR_CACHE_FILE, 0);
|
||||||
|
@ -3042,6 +3045,7 @@ void Application::displaySide(Camera& whichCamera) {
|
||||||
_myAvatar.getHead().setLookAtPosition(_myCamera.getPosition());
|
_myAvatar.getHead().setLookAtPosition(_myCamera.getPosition());
|
||||||
}
|
}
|
||||||
_myAvatar.render(_lookingInMirror->isChecked(), _renderAvatarBalls->isChecked());
|
_myAvatar.render(_lookingInMirror->isChecked(), _renderAvatarBalls->isChecked());
|
||||||
|
|
||||||
_myAvatar.setDisplayingLookatVectors(_renderLookatOn->isChecked());
|
_myAvatar.setDisplayingLookatVectors(_renderLookatOn->isChecked());
|
||||||
|
|
||||||
if (_renderLookatIndicatorOn->isChecked() && _isLookingAtOtherAvatar) {
|
if (_renderLookatIndicatorOn->isChecked() && _isLookingAtOtherAvatar) {
|
||||||
|
@ -3076,6 +3080,9 @@ void Application::displaySide(Camera& whichCamera) {
|
||||||
}
|
}
|
||||||
|
|
||||||
renderFollowIndicator();
|
renderFollowIndicator();
|
||||||
|
|
||||||
|
// render the glow effect
|
||||||
|
_glowEffect.render();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Application::displayOverlay() {
|
void Application::displayOverlay() {
|
||||||
|
|
Loading…
Reference in a new issue