From cfe3446513c1b5dfc94764ad0c38fcedbef8857a Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 12 Jul 2021 15:57:32 +0200 Subject: [PATCH] revert to old three (for now) --- index.html | 4 ++-- stitchcode/objects.js | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index e5b76a52..a5f8a52d 100644 --- a/index.html +++ b/index.html @@ -27,12 +27,12 @@ - + - + diff --git a/stitchcode/objects.js b/stitchcode/objects.js index 296d0836..e33b640c 100644 --- a/stitchcode/objects.js +++ b/stitchcode/objects.js @@ -2739,7 +2739,8 @@ StageMorph.prototype.initTurtle = function() { if (typeof this.turtle.loaded === 'undefined') { - var loader = new THREE.LegacyJSONLoader(); + var loader = new THREE.JSONLoader(); + //var loader = new THREE.LegacyJSONLoader(); // for new version! loader.load('stitchcode/assets/turtle.js', function ( geometry, materials ) {