mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-07 03:49:43 -05:00
cleanup in guimode
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user