History

closing tablet when taking snapshot

Dante Ruiz committed 9 years ago

Commit 7d84aae1 parent c76987c3 files · +12 −2Browse files

Showing the changes to interface/src/scripting/HMDScriptingInterface.cpp (1 of 3 files). Show all

Unified · Split

interface/src/scripting/HMDScriptingInterface.cpp+4−0
@@ -77,6 +77,10 @@ bool HMDScriptingInterface::shouldShowHandControllers() const { · 76 unmodified lines
77 return _showHandControllersCount > 0;77 return _showHandControllersCount > 0;
78}78}
79 79
80void HMDScriptingInterface::closeTablet() {
81 _showTablet = false;
82}
83
80QScriptValue HMDScriptingInterface::getHUDLookAtPosition2D(QScriptContext* context, QScriptEngine* engine) {84QScriptValue HMDScriptingInterface::getHUDLookAtPosition2D(QScriptContext* context, QScriptEngine* engine) {
81 glm::vec3 hudIntersection;85 glm::vec3 hudIntersection;
82 auto instance = DependencyManager::get<HMDScriptingInterface>();86 auto instance = DependencyManager::get<HMDScriptingInterface>();