mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 12:04:18 +02:00
No glow effect on the avatar, fixed OS X warning.
This commit is contained in:
parent
f3a32a7934
commit
571131d42e
2 changed files with 2 additions and 3 deletions
|
@ -2360,10 +2360,8 @@ void Application::displaySide(Camera& whichCamera) {
|
|||
if (_myCamera.getMode() == CAMERA_MODE_MIRROR) {
|
||||
_myAvatar.getHead().setLookAtPosition(_myCamera.getPosition());
|
||||
}
|
||||
_glowEffect.begin();
|
||||
_myAvatar.render(Menu::getInstance()->isOptionChecked(MenuOption::Mirror),
|
||||
Menu::getInstance()->isOptionChecked(MenuOption::AvatarAsBalls));
|
||||
_glowEffect.end();
|
||||
_myAvatar.setDisplayingLookatVectors(Menu::getInstance()->isOptionChecked(MenuOption::LookAtVectors));
|
||||
|
||||
if (Menu::getInstance()->isOptionChecked(MenuOption::LookAtIndicator) && _isLookingAtOtherAvatar) {
|
||||
|
|
|
@ -229,7 +229,8 @@ void GlowEffect::cycleRenderMode() {
|
|||
case BLUR_PERSIST_ADD_MODE:
|
||||
qDebug() << "Glow mode: Blur/persist/add\n";
|
||||
break;
|
||||
|
||||
|
||||
default:
|
||||
case DIFFUSE_ADD_MODE:
|
||||
qDebug() << "Glow mode: Diffuse/add\n";
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue