Browse Source

Hacky fix.

master
Pete Shadbolt 8 years ago
parent
commit
9ab5509e73
2 changed files with 2 additions and 2 deletions
  1. +2
    -0
      abp/static/scripts/main.js
  2. +0
    -2
      abp/static/scripts/materials.js

+ 2
- 0
abp/static/scripts/main.js View File

@@ -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();
};

+ 0
- 2
abp/static/scripts/materials.js View File

@@ -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();


Loading…
Cancel
Save