View unanswered posts | View active topics It is currently 2020-07-14 8:38



Reply to topic  [ 2 posts ] 
 场景编译器添加门的时候报错 
Author Message
新手上路

Joined: 2019-06-11 17:11
Posts: 3
Post 场景编译器添加门的时候报错
在给的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
Profile
TWaver开发组
User avatar

Joined: 2019-04-23 11:02
Posts: 74
Post Re: 场景编译器添加门的时候报错
这里是因为原来依赖别的文件,这里不需要了,但是没有注释,把这个行判断改为false就能正常使用,不影响功能。


2019-12-18 13:57
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 3 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

Search for:
Jump to:  
cron