Showing the changes to interface/src/Application.cpp (1 of 2 files). Show all
Unified · Split
| @@ -1218,11 +1218,6 @@ void Application::mouseMoveEvent(QMouseEvent* event) { · 1217 unmodified lines | |||
| 1218 | } | 1218 | } |
| 1219 | } | 1219 | } |
| 1220 | 1220 | ||
| 1221 | const bool MAKE_SOUND_ON_VOXEL_HOVER = false; | ||
| 1222 | const bool MAKE_SOUND_ON_VOXEL_CLICK = true; | ||
| 1223 | const float HOVER_VOXEL_FREQUENCY = 7040.f; | ||
| 1224 | const float HOVER_VOXEL_DECAY = 0.999f; | ||
| 1225 | |||
| 1226 | void Application::mousePressEvent(QMouseEvent* event) { | 1221 | void Application::mousePressEvent(QMouseEvent* event) { |
| 1227 | _controllerScriptingInterface.emitMousePressEvent(event); // send events to any registered scripts | 1222 | _controllerScriptingInterface.emitMousePressEvent(event); // send events to any registered scripts |
| 1228 | 1223 | ||