mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-25 15:08:11 +00:00
修改代码。
This commit is contained in:
parent
cc60204f94
commit
62c3239698
@ -76,6 +76,7 @@ TerrainMenu.prototype.createTerrain = function () {
|
||||
|
||||
var mesh = new THREE.Mesh(geometry, new THREE.MeshBasicMaterial({ map: texture }));
|
||||
mesh.name = '地形';
|
||||
mesh.scale.set(0.01, 0.01, 0.01);
|
||||
|
||||
var editor = this.app.editor;
|
||||
editor.execute(new AddObjectCommand(mesh));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user