From 8f2154916b95a137c835b2d40381802ccb8ead41 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Thu, 17 Jul 2008 19:58:45 +0000 Subject: if no texture, make it plywood --- OpenSim/Data/NHibernate/TextureUserType.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/Data') diff --git a/OpenSim/Data/NHibernate/TextureUserType.cs b/OpenSim/Data/NHibernate/TextureUserType.cs index b688a16..f8aa704 100644 --- a/OpenSim/Data/NHibernate/TextureUserType.cs +++ b/OpenSim/Data/NHibernate/TextureUserType.cs @@ -28,6 +28,7 @@ using System; using System.Data; using libsecondlife; +using OpenSim.Framework; using NHibernate; using NHibernate.SqlTypes; using NHibernate.UserTypes; @@ -52,7 +53,7 @@ namespace OpenSim.Data.NHibernate if (texture == null) { // TODO: should parametrize this texture out - return new LLObject.TextureEntry(new LLUUID("89556747-24cb-43ed-920b-47caed15465f")); + return new LLObject.TextureEntry(new LLUUID(Constants.DefaultTexture)); } else { -- cgit v1.1