mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 10:46:00 +08:00
!= UUID.Zero is slow
This commit is contained in:
@@ -636,7 +636,7 @@ namespace OpenSim.Region.PhysicsModule.Meshing
|
||||
Image idata = null;
|
||||
string decodedSculptFileName = "";
|
||||
|
||||
if (cacheSculptMaps && primShape.SculptTexture != UUID.Zero)
|
||||
if (cacheSculptMaps && !primShape.SculptTexture.IsZero())
|
||||
{
|
||||
decodedSculptFileName = System.IO.Path.Combine(decodedSculptMapPath, "smap_" + primShape.SculptTexture.ToString());
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user