mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 17:20:12 +02:00
Fix Create mode :|
This commit is contained in:
parent
be737af79d
commit
a99072622a
2 changed files with 7 additions and 3 deletions
|
@ -242,7 +242,9 @@ GridTool = function(opts) {
|
|||
|
||||
horizontalGrid.addListener(function(data) {
|
||||
webView.emitScriptEvent(JSON.stringify(data));
|
||||
selectionDisplay.updateHandles();
|
||||
if (selectionDisplay) {
|
||||
selectionDisplay.updateHandles();
|
||||
}
|
||||
});
|
||||
|
||||
webView.webEventReceived.connect(function(data) {
|
||||
|
|
|
@ -11,10 +11,12 @@
|
|||
/* global Tablet, Script, HMD, UserActivityLogger, Entities */
|
||||
/* eslint indent: ["error", 4, { "outerIIFEBody": 0 }] */
|
||||
|
||||
var selectionDisplay = null; // for gridTool.js to ignore
|
||||
|
||||
(function () { // BEGIN LOCAL_SCOPE
|
||||
|
||||
Script.include("../libraries/WebTablet.js");
|
||||
Script.include("../libraries/gridTool.js");
|
||||
Script.include("/~/system/libraries/WebTablet.js");
|
||||
Script.include("/~/system/libraries/gridTool.js");
|
||||
|
||||
var METAVERSE_SERVER_URL = Account.metaverseServerURL;
|
||||
var MARKETPLACE_URL = METAVERSE_SERVER_URL + "/marketplace";
|
||||
|
|
Loading…
Reference in a new issue