From fbef862aee9194344f2d654f825176bd12950335 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Mon, 30 Nov 2015 19:45:44 +0000 Subject: [PATCH] add a few more known texture IDs --- .../AssetTransaction/AssetXferUploader.cs | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs b/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs index c14e89fb7c..bc9073e081 100644 --- a/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs +++ b/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs @@ -41,12 +41,22 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction { public class AssetXferUploader { - // Viewer's notion of the default texture + private List defaultIDs = new List { - new UUID("5748decc-f629-461c-9a36-a35a221fe21f"), - new UUID("7ca39b4c-bd19-4699-aff7-f93fd03d3e7b"), - new UUID("6522e74d-1660-4e7f-b601-6f48c1659a77"), - new UUID("c228d1cf-4b5d-4ba8-84f4-899a0796aa97") + // Viewer's notion of the default texture + new UUID("5748decc-f629-461c-9a36-a35a221fe21f"), // others == default white + new UUID("7ca39b4c-bd19-4699-aff7-f93fd03d3e7b"), // hair + new UUID("6522e74d-1660-4e7f-b601-6f48c1659a77"), // eyes + new UUID("c228d1cf-4b5d-4ba8-84f4-899a0796aa97"), // skin + new UUID("8dcd4a48-2d37-4909-9f78-f7a9eb4ef903"), // transparency for alpha + // opensim assets skin testures possible obsolete now + new UUID("00000000-0000-1111-9999-000000000010"), + new UUID("00000000-0000-1111-9999-000000000011"), + new UUID("00000000-0000-1111-9999-000000000012"), + // other transparency defined in assets + new UUID("3a367d1c-bef1-6d43-7595-e88c1e3aadb3"), + new UUID("1578a2b1-5179-4b53-b618-fe00ca5a5594"), + }; private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);