mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-29 16:02:58 +02:00
Fixed mouseVoxel getting resized all the time when flying over smaller voxel
This commit is contained in:
parent
edc93347d1
commit
08de50f578
1 changed files with 0 additions and 1 deletions
|
@ -2168,7 +2168,6 @@ void Application::updateMouseVoxels(float deltaTime, glm::vec3& mouseRayOrigin,
|
||||||
|
|
||||||
_mouseVoxel.s = 0.0f;
|
_mouseVoxel.s = 0.0f;
|
||||||
bool wasInitialized = _mouseVoxelScaleInitialized;
|
bool wasInitialized = _mouseVoxelScaleInitialized;
|
||||||
_mouseVoxelScaleInitialized = false;
|
|
||||||
if (Menu::getInstance()->isVoxelModeActionChecked() &&
|
if (Menu::getInstance()->isVoxelModeActionChecked() &&
|
||||||
(fabs(_myAvatar.getVelocity().x) +
|
(fabs(_myAvatar.getVelocity().x) +
|
||||||
fabs(_myAvatar.getVelocity().y) +
|
fabs(_myAvatar.getVelocity().y) +
|
||||||
|
|
Loading…
Reference in a new issue