Showing the changes to interface/src/scripting/HMDScriptingInterface.cpp (1 of 4 files). Show all
Unified · Split
| @@ -100,10 +100,12 @@ void HMDScriptingInterface::deactivateHMDHandMouse() { · 99 unmodified lines | ||
| 100 | 100 | |
| 101 | 101 | void HMDScriptingInterface::closeTablet() { |
| 102 | 102 | _showTablet = false; |
| 103 | + _tabletContextualMode = false; | |
| 103 | 104 | } |
| 104 | 105 | |
| 105 | −void HMDScriptingInterface::openTablet() { | |
| 106 | +void HMDScriptingInterface::openTablet(bool contextualMode) { | |
| 106 | 107 | _showTablet = true; |
| 108 | + _tabletContextualMode = contextualMode; | |
| 107 | 109 | } |
| 108 | 110 | |
| 109 | 111 | QScriptValue HMDScriptingInterface::getHUDLookAtPosition2D(QScriptContext* context, QScriptEngine* engine) { |