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
7777 return _showHandControllersCount > 0;
7878 }
7979
80+void HMDScriptingInterface::closeTablet() {
81+ _showTablet = false;
82+}
83+
8084 QScriptValue HMDScriptingInterface::getHUDLookAtPosition2D(QScriptContext* context, QScriptEngine* engine) {
8185 glm::vec3 hudIntersection;
8286 auto instance = DependencyManager::get<HMDScriptingInterface>();