3
0
Fork 0
mirror of https://github.com/lubosz/overte.git synced 2025-04-26 19:35:48 +02:00

silly workaround- workaround

This commit is contained in:
Thijs Wenker 2016-07-19 21:34:42 +02:00 committed by GitHub
parent 11b461a730
commit 2adff24a05

View file

@ -88,11 +88,13 @@ function Teleporter() {
this.createTargetOverlay = function() {
_this.deleteTargetOverlay();
if (_this.targetOverlay !== null) {
return;
}
var targetOverlayProps = {
url: TARGET_MODEL_URL,
dimensions: TARGET_MODEL_DIMENSIONS,
visible: true,
visible: true
};
_this.targetOverlay = Overlays.addOverlay("model", targetOverlayProps);
@ -620,4 +622,4 @@ function cleanup() {
if (teleporter.updateConnected !== null) {
Script.update.disconnect(teleporter.update);
}
}
}