From b190fac4f17668ff93f651cc7aa8a2a903b1f284 Mon Sep 17 00:00:00 2001 From: vladest Date: Mon, 25 Sep 2017 19:45:51 +0200 Subject: [PATCH] Fix stylus --- interface/src/Application.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index b9289be47c..55f4f5f46b 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -6008,6 +6008,8 @@ void Application::registerScriptEngineWithApplicationServices(ScriptEnginePointe qScriptRegisterMetaType(scriptEngine.data(), wrapperToScriptValue, wrapperFromScriptValue); qScriptRegisterMetaType(scriptEngine.data(), wrapperToScriptValue, wrapperFromScriptValue); + // Tablet inteference with Tablet.qml. Need to avoid this in QML space + scriptEngine->registerGlobalObject("tabletInterface", DependencyManager::get().data()); scriptEngine->registerGlobalObject("Tablet", DependencyManager::get().data()); auto toolbarScriptingInterface = DependencyManager::get().data();