Browse Source

Repair hack.

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

+ 1
- 0
abp/static/scripts/editor.js View File

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


+ 1
- 1
abp/static/scripts/materials.js View File

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


Loading…
Cancel
Save