diff options
Sculpted Prims should now work.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs index f39d56a..5bfdccb 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | |||
@@ -327,6 +327,22 @@ namespace OpenSim.Region.Environment.Scenes | |||
327 | } | 327 | } |
328 | } | 328 | } |
329 | 329 | ||
330 | public void UpdateExtraParam(uint primLocalID, ushort type, bool inUse, byte[] data) | ||
331 | { | ||
332 | Primitive prim = null; | ||
333 | foreach (EntityBase ent in Entities.Values) | ||
334 | { | ||
335 | if (ent is SceneObject) | ||
336 | { | ||
337 | prim = ((SceneObject)ent).HasChildPrim(primLocalID); | ||
338 | if (prim != null) | ||
339 | { | ||
340 | prim.UpdateExtraParam(type, inUse, data); | ||
341 | break; | ||
342 | } | ||
343 | } | ||
344 | } | ||
345 | } | ||
330 | /// <summary> | 346 | /// <summary> |
331 | /// | 347 | /// |
332 | /// </summary> | 348 | /// </summary> |