mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 11:53:28 +02:00
Fixed stupid gcc warning.
This commit is contained in:
parent
06203d44d8
commit
e07e716d40
1 changed files with 1 additions and 1 deletions
|
@ -2250,7 +2250,7 @@ void MyAvatar::updateActionMotor(float deltaTime) {
|
|||
_boomLength = glm::clamp<float>(_boomLength, ZOOM_MIN, ZOOM_MAX);
|
||||
|
||||
// May need to change view if boom length has changed
|
||||
if (fabs(boomChange) > 0.0) {
|
||||
if (fabs(boomChange) > 0.0f) {
|
||||
qApp->changeViewAsNeeded(_boomLength);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue