diff --git a/abp/static/scripts/main.js b/abp/static/scripts/main.js index 9e16859..597dd77 100644 --- a/abp/static/scripts/main.js +++ b/abp/static/scripts/main.js @@ -4,5 +4,7 @@ window.onload = function() { gui.prepare(); mouse.prepare(); editor.prepare(); + gui.scene.children[0].renderOrder = -1000; + console.log(gui.scene.children[0].renderOrder = -1000); gui.loop(); }; diff --git a/abp/static/scripts/materials.js b/abp/static/scripts/materials.js index 68caffa..d0ee18d 100644 --- a/abp/static/scripts/materials.js +++ b/abp/static/scripts/materials.js @@ -22,10 +22,8 @@ materials.prepare = function() { transparent: true, vertexColors: THREE.VertexColors }); - materials.edge.depthTest = false; }; -console.log("what"); materials.makeCurve = function(a, b) { var length = new THREE.Vector3().subVectors(a, b).length();