mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-29 19:31:48 +02:00
Fix tablet QML fonts path
This is the path for running scripts from build/install directory rather than from source directory.
This commit is contained in:
parent
3285816fca
commit
b31cf23c8d
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ void Web3DOverlay::loadSourceURL() {
|
|||
_webSurface->getRootContext()->setContextProperty("HMD", DependencyManager::get<HMDScriptingInterface>().data());
|
||||
_webSurface->getRootContext()->setContextProperty("fileDialogHelper", new FileDialogHelper());
|
||||
_webSurface->getRootContext()->setContextProperty("ScriptDiscoveryService", DependencyManager::get<ScriptEngines>().data());
|
||||
_webSurface->getRootContext()->setContextProperty("pathToFonts", "../../../");
|
||||
_webSurface->getRootContext()->setContextProperty("pathToFonts", "../../");
|
||||
tabletScriptingInterface->setQmlTabletRoot("com.highfidelity.interface.tablet.system", _webSurface->getRootItem(), _webSurface.data());
|
||||
|
||||
// Override min fps for tablet UI, for silky smooth scrolling
|
||||
|
|
Loading…
Reference in a new issue