Don't turn off the sale settings on child prims when linking, and on copy

of prims anymore. The behavior now matches SL and can be used to link
vendor prims for transport
avinationmerge
Melanie Thielker 2010-09-06 18:14:24 +02:00
parent 06adbc1324
commit f4f9a2cb45
1 changed files with 0 additions and 8 deletions

View File

@ -1619,11 +1619,6 @@ namespace OpenSim.Region.Framework.Scenes
if (child != null) if (child != null)
{ {
// Make sure no child prim is set for sale
// So that, on delink, no prims are unwittingly
// left for sale and sold off
child.RootPart.ObjectSaleType = 0;
child.RootPart.SalePrice = 10;
childGroups.Add(child); childGroups.Add(child);
} }
} }
@ -1907,9 +1902,6 @@ namespace OpenSim.Region.Framework.Scenes
child.ApplyNextOwnerPermissions(); child.ApplyNextOwnerPermissions();
} }
} }
copy.RootPart.ObjectSaleType = 0;
copy.RootPart.SalePrice = 10;
} }
Entities.Add(copy); Entities.Add(copy);