|
|
|
Page 1 of 1
|
[ 2 posts ] |
|
Author |
Message |
13212677009
新手上路
Joined: 2019-06-11 17:11 Posts: 3
|
 场景编译器添加门的时候报错
在给的twaver-doodle-1.6.0版中,场景编辑器中,在内墙或者外墙中添加门的时候报错, 报错内容为:RoomDragInteraction.js:174 Uncaught ReferenceError: it is not defined; RoomDragInteraction.js:174的代码是: //类型为门时,改变导出的结构 [floor(cutoff,cutoff),door1,door2] if(type == 'door'){ //这段判断语句中的it为空 if(Object.keys(it.util.dataTypeMap).indexOf(id) != -1){ //请问是什么原因
|
2019-06-11 17:19 |
|
 |
skm_mks
TWaver开发组
Joined: 2019-04-23 11:02 Posts: 99
|
 Re: 场景编译器添加门的时候报错
这里是因为原来依赖别的文件,这里不需要了,但是没有注释,把这个行判断改为false就能正常使用,不影响功能。
|
2019-12-18 13:57 |
|
|
|
Page 1 of 1
|
[ 2 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 8 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|