mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-01 16:29:43 -05:00
Guard against accessing outside bounds
This commit is contained in:
@@ -188,6 +188,7 @@ private:
|
||||
properties::IntProperty nFingers;
|
||||
properties::StringProperty interpretedInteraction;
|
||||
properties::FloatProperty normalizedCentroidDistance;
|
||||
properties::FloatProperty minDiff;
|
||||
properties::FloatProperty rollOn;
|
||||
} _debugProperties;
|
||||
#endif
|
||||
|
||||
@@ -96,7 +96,7 @@ class TuioEar : public TUIO::TuioListener {
|
||||
void clearInput();
|
||||
|
||||
private:
|
||||
bool _tap;
|
||||
bool _tap = false;
|
||||
TUIO::TuioCursor _tapCo = TUIO::TuioCursor(-1, -1, -1.0f, -1.0f);
|
||||
std::mutex _mx;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user