mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
Make mesh upload respect the same parts maximum as what is set for the
simulator
This commit is contained in:
@@ -140,7 +140,7 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||
|
||||
int numberInstances = resources.instance_list.Array.Count;
|
||||
|
||||
if( numberInstances > ObjectLinkedPartsMax )
|
||||
if (ObjectLinkedPartsMax != 0 && numberInstances > ObjectLinkedPartsMax)
|
||||
{
|
||||
error = "Model would have more than " + ObjectLinkedPartsMax.ToString() + " linked prims";
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user