aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorUbitUmarov2016-08-28 08:45:09 +0100
committerUbitUmarov2016-08-28 08:45:09 +0100
commitddc2f2ccd3566a9a4a3631c872979aa6830dbcfe (patch)
tree24c51a69f8b0e5d17f35501b37659843cf0a4bbe /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
parentlet mouse steer work on crossings; some cleanup (diff)
downloadopensim-SC-ddc2f2ccd3566a9a4a3631c872979aa6830dbcfe.zip
opensim-SC-ddc2f2ccd3566a9a4a3631c872979aa6830dbcfe.tar.gz
opensim-SC-ddc2f2ccd3566a9a4a3631c872979aa6830dbcfe.tar.bz2
opensim-SC-ddc2f2ccd3566a9a4a3631c872979aa6830dbcfe.tar.xz
mantis: 8008 unscripted child prim collisions didn't trigger scripted root prim collision events; collision sounds had incorrect aggregateevents call and default sounds where muted. Future optimization needed and Testing
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index dd20a2f..fcc3463 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -1534,7 +1534,6 @@ namespace OpenSim.Region.Framework.Scenes
1534 else 1534 else
1535 m_collisionSoundType = 1; 1535 m_collisionSoundType = 1;
1536 1536
1537 aggregateScriptEvents();
1538 } 1537 }
1539 } 1538 }
1540 1539
@@ -5033,7 +5032,7 @@ SendFullUpdateToClient(remoteClient, Position) ignores position parameter
5033 } 5032 }
5034 5033
5035 5034
5036 private void UpdatePhysicsSubscribedEvents() 5035 internal void UpdatePhysicsSubscribedEvents()
5037 { 5036 {
5038 PhysicsActor pa = PhysActor; 5037 PhysicsActor pa = PhysActor;
5039 if (pa == null) 5038 if (pa == null)
@@ -5107,8 +5106,6 @@ SendFullUpdateToClient(remoteClient, Position) ignores position parameter
5107 objectflagupdate |= (uint) PrimFlags.AllowInventoryDrop; 5106 objectflagupdate |= (uint) PrimFlags.AllowInventoryDrop;
5108 } 5107 }
5109 5108
5110 UpdatePhysicsSubscribedEvents();
5111
5112 LocalFlags = (PrimFlags)objectflagupdate; 5109 LocalFlags = (PrimFlags)objectflagupdate;
5113 5110
5114 if (ParentGroup != null && ParentGroup.RootPart == this) 5111 if (ParentGroup != null && ParentGroup.RootPart == this)
@@ -5119,6 +5116,7 @@ SendFullUpdateToClient(remoteClient, Position) ignores position parameter
5119 { 5116 {
5120// m_log.DebugFormat( 5117// m_log.DebugFormat(
5121// "[SCENE OBJECT PART]: Scheduling part {0} {1} for full update in aggregateScriptEvents()", Name, LocalId); 5118// "[SCENE OBJECT PART]: Scheduling part {0} {1} for full update in aggregateScriptEvents()", Name, LocalId);
5119 UpdatePhysicsSubscribedEvents();
5122 ScheduleFullUpdate(); 5120 ScheduleFullUpdate();
5123 } 5121 }
5124 } 5122 }