diff options
author | Sean Dague | 2008-07-17 19:58:45 +0000 |
---|---|---|
committer | Sean Dague | 2008-07-17 19:58:45 +0000 |
commit | 8f2154916b95a137c835b2d40381802ccb8ead41 (patch) | |
tree | 680ab828ce75381792db3d700f3c51caccc8a3df /OpenSim/Data/NHibernate | |
parent | add plywood texture as a constant, as we need it in a couple of places (diff) | |
download | opensim-SC-8f2154916b95a137c835b2d40381802ccb8ead41.zip opensim-SC-8f2154916b95a137c835b2d40381802ccb8ead41.tar.gz opensim-SC-8f2154916b95a137c835b2d40381802ccb8ead41.tar.bz2 opensim-SC-8f2154916b95a137c835b2d40381802ccb8ead41.tar.xz |
if no texture, make it plywood
Diffstat (limited to 'OpenSim/Data/NHibernate')
-rw-r--r-- | OpenSim/Data/NHibernate/TextureUserType.cs | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ | |||
28 | using System; | 28 | using System; |
29 | using System.Data; | 29 | using System.Data; |
30 | using libsecondlife; | 30 | using libsecondlife; |
31 | using OpenSim.Framework; | ||
31 | using NHibernate; | 32 | using NHibernate; |
32 | using NHibernate.SqlTypes; | 33 | using NHibernate.SqlTypes; |
33 | using NHibernate.UserTypes; | 34 | using NHibernate.UserTypes; |
@@ -52,7 +53,7 @@ namespace OpenSim.Data.NHibernate | |||
52 | if (texture == null) | 53 | if (texture == null) |
53 | { | 54 | { |
54 | // TODO: should parametrize this texture out | 55 | // TODO: should parametrize this texture out |
55 | return new LLObject.TextureEntry(new LLUUID("89556747-24cb-43ed-920b-47caed15465f")); | 56 | return new LLObject.TextureEntry(new LLUUID(Constants.DefaultTexture)); |
56 | } | 57 | } |
57 | else | 58 | else |
58 | { | 59 | { |