最近看了一下以前写的关于收集贴图的函数...又完善了一下,老链接:http://www.cnblogs.com/3dxy/p/3988751.html fn saveusedmaps spath sel:#false = ( makedir spath case sel of ( #true: ( all_obj = selection;all_maps = #() for i in all_obj do all_maps = makeUniqueArray (join all_maps (us…
fn YY_clrmessingmaps = ( YY_messingmap = #() allBitmaps = getClassInstances BitmapTexture -- 所有材质 to allBitmaps.count do ( if not doesfileexist allBitmaps[m].filename do append YY_messingmap m ) -- 收集丢失贴图 do for c in YY_messingmap do ( allBitmaps[c].…