aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/MeshCost.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/MeshCost.cs')
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/MeshCost.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/MeshCost.cs b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/MeshCost.cs
index a91f3be..29bde6c 100644
--- a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/MeshCost.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/MeshCost.cs
@@ -140,7 +140,7 @@ namespace OpenSim.Region.ClientStack.Linden
140 140
141 int numberInstances = resources.instance_list.Array.Count; 141 int numberInstances = resources.instance_list.Array.Count;
142 142
143 if( numberInstances > ObjectLinkedPartsMax ) 143 if (ObjectLinkedPartsMax != 0 && numberInstances > ObjectLinkedPartsMax)
144 { 144 {
145 error = "Model would have more than " + ObjectLinkedPartsMax.ToString() + " linked prims"; 145 error = "Model would have more than " + ObjectLinkedPartsMax.ToString() + " linked prims";
146 return false; 146 return false;