浏览代码

Repair hack.

master
Pete Shadbolt 8 年前
父节点
当前提交
348efb92cc
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. +1
    -0
      abp/static/scripts/editor.js
  2. +1
    -1
      abp/static/scripts/materials.js

+ 1
- 0
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() {};


+ 1
- 1
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
});


正在加载...
取消
保存