mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 18:30:42 +02:00
CR.
This commit is contained in:
parent
36f5fd9636
commit
05ad300894
4 changed files with 7 additions and 5 deletions
|
@ -4,14 +4,14 @@
|
||||||
//
|
//
|
||||||
// Created by Stephen Birarda on 8/12/13.
|
// Created by Stephen Birarda on 8/12/13.
|
||||||
// Copyright 2013 High Fidelity, Inc.
|
// Copyright 2013 High Fidelity, Inc.
|
||||||
|
// Copyright 2020 Vircadia contributors.
|
||||||
//
|
//
|
||||||
// Distributed under the Apache License, Version 2.0.
|
// Distributed under the Apache License, Version 2.0.
|
||||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
//
|
//
|
||||||
|
// For happ(ier) development of QML, use these two things:
|
||||||
// For happ(ier) development of QML, use these two things:
|
// This forces QML files to be pulled from the source as you edit it: set environment variable HIFI_USE_SOURCE_TREE_RESOURCES=1
|
||||||
// This forces QML files to be pulled from the source as you edit it: set environment variable HIFI_USE_SOURCE_TREE_RESOURCES=1
|
// Use this to live reload: DependencyManager::get<OffscreenUi>()->clearCache();
|
||||||
// Use this to live reload: DependencyManager::get<OffscreenUi>()->clearCache();
|
|
||||||
|
|
||||||
#include "Menu.h"
|
#include "Menu.h"
|
||||||
#include <QDesktopServices>
|
#include <QDesktopServices>
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
//
|
//
|
||||||
// Created by Stephen Birarda on 8/12/13.
|
// Created by Stephen Birarda on 8/12/13.
|
||||||
// Copyright 2013 High Fidelity, Inc.
|
// Copyright 2013 High Fidelity, Inc.
|
||||||
|
// Copyright 2020 Vircadia contributors.
|
||||||
//
|
//
|
||||||
// Distributed under the Apache License, Version 2.0.
|
// Distributed under the Apache License, Version 2.0.
|
||||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
|
|
|
@ -1942,7 +1942,7 @@ QScriptValue ScriptEngine::require(const QString& moduleId) {
|
||||||
// to inspect particular entries and invalidate them by deleting the key:
|
// to inspect particular entries and invalidate them by deleting the key:
|
||||||
// `delete Script.require.cache[Script.require.resolve(moduleId)];`
|
// `delete Script.require.cache[Script.require.resolve(moduleId)];`
|
||||||
|
|
||||||
// Check to see if
|
// Check to see if we should invalidate the cache based on a user setting.
|
||||||
Setting::Handle<bool> getCachebustSetting {"cachebustScriptRequire", false };
|
Setting::Handle<bool> getCachebustSetting {"cachebustScriptRequire", false };
|
||||||
|
|
||||||
// cacheMeta is just used right now to tell deleted keys apart from undefined ones
|
// cacheMeta is just used right now to tell deleted keys apart from undefined ones
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
//
|
//
|
||||||
// Created by Brad Hefta-Gaub on 12/14/13.
|
// Created by Brad Hefta-Gaub on 12/14/13.
|
||||||
// Copyright 2013 High Fidelity, Inc.
|
// Copyright 2013 High Fidelity, Inc.
|
||||||
|
// Copyright 2020 Vircadia contributors.
|
||||||
//
|
//
|
||||||
// Distributed under the Apache License, Version 2.0.
|
// Distributed under the Apache License, Version 2.0.
|
||||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
|
|
Loading…
Reference in a new issue