mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 12:25:42 +08:00
!= UUID.Zero is slow
This commit is contained in:
@@ -521,7 +521,7 @@ namespace OpenSim.Region.CoreModules.World.Warp3DMap
|
||||
|
||||
if (m_renderMeshes)
|
||||
{
|
||||
if (omvPrim.Sculpt != null && omvPrim.Sculpt.SculptTexture != UUID.Zero)
|
||||
if (omvPrim.Sculpt != null && !omvPrim.Sculpt.SculptTexture.IsZero())
|
||||
{
|
||||
// Try fetchinng the asset
|
||||
AssetBase sculptAsset = m_scene.AssetService.Get(omvPrim.Sculpt.SculptTexture.ToString());
|
||||
|
||||
Reference in New Issue
Block a user