diff options
author | UbitUmarov | 2012-08-28 03:21:03 +0100 |
---|---|---|
committer | UbitUmarov | 2012-08-28 03:21:03 +0100 |
commit | ef6e007a4c7301dbd7a1a0392a07664e7034201b (patch) | |
tree | 090ee81b2784f6e3f21fe8e0df72c089d5ea9f5c /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | fix incoerence btw KFM_TRANSLATION and ROTATION LSL constants and internal (diff) | |
download | opensim-SC-ef6e007a4c7301dbd7a1a0392a07664e7034201b.zip opensim-SC-ef6e007a4c7301dbd7a1a0392a07664e7034201b.tar.gz opensim-SC-ef6e007a4c7301dbd7a1a0392a07664e7034201b.tar.bz2 opensim-SC-ef6e007a4c7301dbd7a1a0392a07664e7034201b.tar.xz |
[possible still very broken] mess around keyframes. timer events
threads overlaps, some null objects exceptions, region crossing...
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 57fcf51..0237021 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -2346,6 +2346,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
2346 | 2346 | ||
2347 | foreach (SceneObjectPart part in partList) | 2347 | foreach (SceneObjectPart part in partList) |
2348 | { | 2348 | { |
2349 | if (part.KeyframeMotion != null) | ||
2350 | { | ||
2351 | part.KeyframeMotion.Delete(); | ||
2352 | part.KeyframeMotion = null; | ||
2353 | } | ||
2354 | |||
2349 | if (part.IsJoint() && ((part.Flags & PrimFlags.Physics) != 0)) | 2355 | if (part.IsJoint() && ((part.Flags & PrimFlags.Physics) != 0)) |
2350 | { | 2356 | { |
2351 | PhysicsScene.RequestJointDeletion(part.Name); // FIXME: what if the name changed? | 2357 | PhysicsScene.RequestJointDeletion(part.Name); // FIXME: what if the name changed? |