mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
Rezzing multiple copies of a inventory prim should now work.
This commit is contained in:
@@ -598,6 +598,17 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
SetPartAsNonRoot(newPart);
|
||||
}
|
||||
|
||||
|
||||
public void GenerateNewIDs()
|
||||
{
|
||||
List<SceneObjectPart> partsList = new List<SceneObjectPart>(m_parts.Values);
|
||||
m_parts.Clear();
|
||||
foreach (SceneObjectPart part in partsList)
|
||||
{
|
||||
part.UUID = LLUUID.Random();
|
||||
m_parts.Add(part.UUID, part);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user