Fix comparison of UUID with null.

This commit is contained in:
Jeff Ames
2009-06-04 01:26:31 +00:00
parent f9bca113e3
commit 1e3f378c57

View File

@@ -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