add default textur blacklist

master
Christopher 2020-07-08 01:33:45 +02:00
parent 60a67d566e
commit 58c24aac9c
1 changed files with 3 additions and 1 deletions

View File

@ -27,6 +27,8 @@ namespace OpenSim.Modules.TextureFetcher
List<UUID> m_textureBlackList = new List<UUID>();
bool m_checkTexture = false;
List<String> m_defaultTexturs = new List<String>(new string[] { "89556747-24cb-43ed-920b-47caed15465f", "5748decc-f629-461c-9a36-a35a221fe21f", "8dcd4a48-2d37-4909-9f78-f7a9eb4ef903", "8b5fec65-8d8d-9dc5-cda8-8fdf2716e361", "38b86f85-2575-52a9-a531-23108d8da837", "e97cf410-8e61-7005-ec06-629eba4cd1fb", "5a9f4a74-30f2-821c-b88d-70499d3e7183 ", "ae2de45c-d252-50b8-5c6e-19f39ce79317 ", "24daea5f-0539-cfcf-047f-fbc40b2786ba", "52cc6bb6-2ee5-e632-d3ad-50197b1dcb8a", "43529ce8-7faa-ad92-165a-bc4078371687", "09aac1fb-6bce-0bee-7d44-caac6dbb6c63", "ff62763f-d60a-9855-890b-0c96f8f8cd98", "8e915e25-31d1-cc95-ae08-d58a47488251", "9742065b-19b5-297c-858a-29711d539043", "03642e83-2bd1-4eb9-34b4-4c47ed586d2d", "edd51b77-fc10-ce7a-4b3d-011dfc349e4f"});
public string Name
{
get { return "TextureFetcher"; }
@ -146,7 +148,7 @@ namespace OpenSim.Modules.TextureFetcher
{
TextureEntryFace face = textures.GetFace(i);
if(!m_textureBlackList.Contains(face.TextureID))
if(!m_textureBlackList.Contains(face.TextureID) && !m_defaultTexturs.Contains(face.TextureID.ToString()))
allTextures.Add(face.TextureID);
}