标签:style blog color ar for 文件 sp div log
fn YY_clrmessingmaps = ( YY_messingmap = #() allBitmaps = getClassInstances BitmapTexture -- 所有材质 for m=1 to allBitmaps.count do ( if not doesfileexist allBitmaps[m].filename do append YY_messingmap m ) -- 收集丢失贴图 if YY_messingmap.count != 0 do for c in YY_messingmap do ( allBitmaps[c].filename = "" ); -- 清除丢失贴图 YY_messingIES = #() all_light = getClassInstances Target_Light + getClassInstances Free_Light -- 所有灯光 for l=1 to all_light.count do ( if not doesfileexist all_light[l].webFile do append YY_messingIES l ) -- 收集丢失IES if YY_messingIES.count != 0 do for w in YY_messingIES do ( all_light[w].webFile = "" ) -- 清除丢失IES )-- 清除丢失贴图与IES
标签:style blog color ar for 文件 sp div log
原文地址:http://www.cnblogs.com/3dxy/p/4026941.html