From 7a2a7f531f4985289b349a93db8fa2fb0832177d Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Thu, 8 Aug 2013 20:32:02 -0400 Subject: [PATCH] Add default object texture id to perms check --- indra/newview/llpanelobject.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/indra/newview/llpanelobject.cpp b/indra/newview/llpanelobject.cpp index 35644d29b..925f8ecb0 100644 --- a/indra/newview/llpanelobject.cpp +++ b/indra/newview/llpanelobject.cpp @@ -2484,6 +2484,7 @@ namespace bool texturePermsCheck(const LLUUID& id) { return (id.notNull() && !gInventory.isObjectDescendentOf(id, gInventory.getLibraryRootFolderID()) + && id != LLUUID(gSavedSettings.getString("DefaultObjectTexture")) && id != LLUUID(gSavedSettings.getString("UIImgWhiteUUID")) && id != LLUUID(gSavedSettings.getString("UIImgInvisibleUUID")) && id != LLUUID(std::string("8dcd4a48-2d37-4909-9f78-f7a9eb4ef903")) // alpha