三维贴图加载日志清除

This commit is contained in:
sunzhenyu 2020-05-19 18:12:42 +08:00
parent 4819efc14e
commit e40de65e9f

View File

@ -1,6 +1,5 @@
export function Materialload(jlmap3dedit,assettype){ export function Materialload(jlmap3dedit,assettype){
console.log(assettype);
settexture(jlmap3dedit.materiallist,"red",'../../static/material/signal/1.jpg'); settexture(jlmap3dedit.materiallist,"red",'../../static/material/signal/1.jpg');
settexture(jlmap3dedit.materiallist,"yellow",'../../static/material/signal/2.jpg'); settexture(jlmap3dedit.materiallist,"yellow",'../../static/material/signal/2.jpg');
@ -8,7 +7,7 @@ export function Materialload(jlmap3dedit,assettype){
settexture( jlmap3dedit.materiallist,"green",'../../static/material/signal/3.jpg'); settexture( jlmap3dedit.materiallist,"green",'../../static/material/signal/3.jpg');
settexture( jlmap3dedit.materiallist,"black",'../../static/material/signal/5.jpg'); settexture( jlmap3dedit.materiallist,"black",'../../static/material/signal/5.jpg');
if(assettype.stationtexture == "xian3"){ if(assettype.stationtexture == "xian3"){
if(jlmap3dedit.stationtexture){ if(jlmap3dedit.stationtexture){
setstationtexture(jlmap3dedit.stationtexture,"stationlist",'../../static/texture/xian3/xian3list.jpg'); setstationtexture(jlmap3dedit.stationtexture,"stationlist",'../../static/texture/xian3/xian3list.jpg');