diff --git a/abp/static/scripts/editor.js b/abp/static/scripts/editor.js index 87c2d7b..9ce4ad7 100644 --- a/abp/static/scripts/editor.js +++ b/abp/static/scripts/editor.js @@ -127,6 +127,7 @@ editor.makeGrid = function() { editor.grid.renderOrder = 1000; editor.setOrientation(0); gui.scene.add(editor.grid); + gui.scene.children[0].renderOrder = -3000; }; editor.update = function() {}; diff --git a/abp/static/scripts/materials.js b/abp/static/scripts/materials.js index d0ee18d..14f762b 100644 --- a/abp/static/scripts/materials.js +++ b/abp/static/scripts/materials.js @@ -10,7 +10,7 @@ materials.prepare = function() { var ballSprite = new THREE.Texture(document.getElementById("ball")); ballSprite.needsUpdate = true; materials.edge = new THREE.LineBasicMaterial({ - color: "gray", + color: "red", transparent: false, linewidth: 3 });