From 1e3f378c57c8447c93799fd0fff2f0cffe7d7bb4 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Thu, 4 Jun 2009 01:26:31 +0000 Subject: Fix comparison of UUID with null. --- OpenSim/Region/Physics/Meshing/Meshmerizer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/Physics') diff --git a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs index 225344b..253f451 100644 --- a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs +++ b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs @@ -184,7 +184,7 @@ namespace OpenSim.Region.Physics.Meshing if (primShape.SculptEntry) { - if (cacheSculptMaps && primShape.SculptTexture != null) + if (cacheSculptMaps && primShape.SculptTexture != UUID.Zero) { decodedSculptFileName = System.IO.Path.Combine(decodedScultMapPath, "smap_" + primShape.SculptTexture.ToString()); try -- cgit v1.1