cleanup in guimode

This commit is contained in:
Jonathan Bosson
2017-05-09 13:42:35 -06:00
parent 1ca9b144fc
commit 232ca9c26f
2 changed files with 0 additions and 8 deletions
-1
View File
@@ -31,7 +31,6 @@
#include <openspace/util/camera.h>
#include <openspace/scene/scenegraphnode.h>
#include <openspace/engine/openspaceengine.h>
#include <openspace/engine/wrapper/windowwrapper.h>
#include <openspace/interaction/interactionmode.h>
#include <openspace/interaction/interactionhandler.h>
-7
View File
@@ -133,13 +133,6 @@ bool TouchInteraction::gui(const std::vector<TuioCursor>& list) {
}
else if (_guiON) {
uint32_t action = (_tap) ? 0 : 1;
/*for (const auto& func : _moduleCallbacks.mouseButton) {
bool consumed = func(0, action);
if (consumed) {
OnScreenGUIModule::touchInput = { _guiON, pos, action };
}
}*/
OnScreenGUIModule::touchInput = { _guiON, pos, action };
}
return _guiON; // return if consumed