mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
do release controls on some objects delete
This commit is contained in:
@@ -2771,8 +2771,13 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
SceneObjectPart[] partList = group.Parts;
|
||||
|
||||
foreach (SceneObjectPart part in partList)
|
||||
for(int i = 0; i < partList.Length; ++i)
|
||||
{
|
||||
SceneObjectPart part = partList[i];
|
||||
|
||||
if (removeScripts)
|
||||
part.Inventory.SendReleaseScriptsControl();
|
||||
|
||||
if (part.KeyframeMotion != null)
|
||||
{
|
||||
part.KeyframeMotion.Delete();
|
||||
|
||||
Reference in New Issue
Block a user