aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorUbitUmarov2019-03-19 21:37:58 +0000
committerUbitUmarov2019-03-19 21:37:58 +0000
commitfe6317f009cbdbe9b075c32584e1188cb59ddf94 (patch)
tree1681027c7c277a01ac13d4642c3b4a5f92e2b934 /OpenSim/Region/Framework/Scenes
parentprevent spurius acceleration values (diff)
downloadopensim-SC-fe6317f009cbdbe9b075c32584e1188cb59ddf94.zip
opensim-SC-fe6317f009cbdbe9b075c32584e1188cb59ddf94.tar.gz
opensim-SC-fe6317f009cbdbe9b075c32584e1188cb59ddf94.tar.bz2
opensim-SC-fe6317f009cbdbe9b075c32584e1188cb59ddf94.tar.xz
LSL update texture entry is heavy, set all parameters on same update
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs8
1 files changed, 2 insertions, 6 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 1a5e9d6..cf9dfee 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -2338,10 +2338,7 @@ namespace OpenSim.Region.Framework.Scenes
2338 { 2338 {
2339 ParentGroup.Scene.RemovePhysicalPrim(1); 2339 ParentGroup.Scene.RemovePhysicalPrim(1);
2340 2340
2341 Velocity = new Vector3(0, 0, 0); 2341 Stop();
2342 Acceleration = new Vector3(0, 0, 0);
2343 AngularVelocity = new Vector3(0, 0, 0);
2344 APIDActive = false;
2345 2342
2346 if (pa.Phantom && !VolumeDetectActive) 2343 if (pa.Phantom && !VolumeDetectActive)
2347 { 2344 {
@@ -4730,14 +4727,13 @@ namespace OpenSim.Region.Framework.Scenes
4730 if ((SetPhantom && !UsePhysics && !SetVD) || ParentGroup.IsAttachment || PhysicsShapeType == (byte)PhysShapeType.none 4727 if ((SetPhantom && !UsePhysics && !SetVD) || ParentGroup.IsAttachment || PhysicsShapeType == (byte)PhysShapeType.none
4731 || (Shape.PathCurve == (byte)Extrusion.Flexible)) 4728 || (Shape.PathCurve == (byte)Extrusion.Flexible))
4732 { 4729 {
4730 Stop();
4733 if (pa != null) 4731 if (pa != null)
4734 { 4732 {
4735 if(wasUsingPhysics) 4733 if(wasUsingPhysics)
4736 ParentGroup.Scene.RemovePhysicalPrim(1); 4734 ParentGroup.Scene.RemovePhysicalPrim(1);
4737 RemoveFromPhysics(); 4735 RemoveFromPhysics();
4738 } 4736 }
4739
4740 Stop();
4741 } 4737 }
4742 4738
4743 else 4739 else