未验证 提交 afb92873 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #16157 from Temdog007/editor/SceneClear

Editor: Clear name and user data of scene
......@@ -498,6 +498,8 @@ Editor.prototype = {
this.storage.clear();
this.camera.copy( this.DEFAULT_CAMERA );
this.scene.name = "Scene";
this.scene.userData = {};
this.scene.background.setHex( 0xaaaaaa );
this.scene.fog = null;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册