aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/KeyframeMotion.cs24
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs6
-rw-r--r--OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs2
3 files changed, 16 insertions, 16 deletions
diff --git a/OpenSim/Region/Framework/Scenes/KeyframeMotion.cs b/OpenSim/Region/Framework/Scenes/KeyframeMotion.cs
index 80ee510..bf20c32 100644
--- a/OpenSim/Region/Framework/Scenes/KeyframeMotion.cs
+++ b/OpenSim/Region/Framework/Scenes/KeyframeMotion.cs
@@ -497,7 +497,7 @@ namespace OpenSim.Region.Framework.Scenes
497 497
498 m_group.RootPart.Velocity = Vector3.Zero; 498 m_group.RootPart.Velocity = Vector3.Zero;
499 m_group.RootPart.AngularVelocity = Vector3.Zero; 499 m_group.RootPart.AngularVelocity = Vector3.Zero;
500 m_skippedUpdates = 1000; 500// m_skippedUpdates = 1000;
501// m_group.SendGroupRootTerseUpdate(); 501// m_group.SendGroupRootTerseUpdate();
502 m_group.RootPart.ScheduleTerseUpdate(); 502 m_group.RootPart.ScheduleTerseUpdate();
503 m_group.Scene.EventManager.TriggerMovingEndEvent(m_group.RootPart.LocalId); 503 m_group.Scene.EventManager.TriggerMovingEndEvent(m_group.RootPart.LocalId);
@@ -521,7 +521,7 @@ namespace OpenSim.Region.Framework.Scenes
521 return; 521 return;
522 if (m_running && !m_waitingCrossing) 522 if (m_running && !m_waitingCrossing)
523 StartTimer(); 523 StartTimer();
524 m_skippedUpdates = 1000; 524// m_skippedUpdates = 1000;
525 } 525 }
526 } 526 }
527 527
@@ -652,10 +652,10 @@ namespace OpenSim.Region.Framework.Scenes
652 m_frames.Clear(); 652 m_frames.Clear();
653 } 653 }
654 654
655 [NonSerialized()] Vector3 m_lastPosUpdate; 655// [NonSerialized()] Vector3 m_lastPosUpdate;
656 [NonSerialized()] Quaternion m_lastRotationUpdate; 656// [NonSerialized()] Quaternion m_lastRotationUpdate;
657 [NonSerialized()] Vector3 m_currentVel; 657 [NonSerialized()] Vector3 m_currentVel;
658 [NonSerialized()] int m_skippedUpdates; 658// [NonSerialized()] int m_skippedUpdates;
659 [NonSerialized()] double m_lasttickMS; 659 [NonSerialized()] double m_lasttickMS;
660 660
661 private void DoOnTimer(double tickDuration) 661 private void DoOnTimer(double tickDuration)
@@ -669,14 +669,14 @@ namespace OpenSim.Region.Framework.Scenes
669 if (m_group == null) 669 if (m_group == null)
670 return; 670 return;
671 671
672 bool update = false; 672// bool update = false;
673 673
674 if (m_selected) 674 if (m_selected)
675 { 675 {
676 if (m_group.RootPart.Velocity != Vector3.Zero) 676 if (m_group.RootPart.Velocity != Vector3.Zero)
677 { 677 {
678 m_group.RootPart.Velocity = Vector3.Zero; 678 m_group.RootPart.Velocity = Vector3.Zero;
679 m_skippedUpdates = 1000; 679// m_skippedUpdates = 1000;
680// m_group.SendGroupRootTerseUpdate(); 680// m_group.SendGroupRootTerseUpdate();
681 m_group.RootPart.ScheduleTerseUpdate(); 681 m_group.RootPart.ScheduleTerseUpdate();
682 } 682 }
@@ -690,7 +690,7 @@ namespace OpenSim.Region.Framework.Scenes
690 // retry to set the position that evtually caused the outbound 690 // retry to set the position that evtually caused the outbound
691 // if still outside region this will call startCrossing below 691 // if still outside region this will call startCrossing below
692 m_isCrossing = false; 692 m_isCrossing = false;
693 m_skippedUpdates = 1000; 693// m_skippedUpdates = 1000;
694 m_group.AbsolutePosition = m_nextPosition; 694 m_group.AbsolutePosition = m_nextPosition;
695 695
696 if (!m_isCrossing) 696 if (!m_isCrossing)
@@ -724,7 +724,7 @@ namespace OpenSim.Region.Framework.Scenes
724 724
725 m_currentFrame.TimeMS += (int)tickDuration; 725 m_currentFrame.TimeMS += (int)tickDuration;
726 m_lasttickMS = nowMS - 50f; 726 m_lasttickMS = nowMS - 50f;
727 update = true; 727// update = true;
728 } 728 }
729 729
730 int elapsed = (int)(nowMS - m_lasttickMS); 730 int elapsed = (int)(nowMS - m_lasttickMS);
@@ -761,7 +761,7 @@ namespace OpenSim.Region.Framework.Scenes
761 else 761 else
762 m_group.RootPart.Velocity = Vector3.Zero; 762 m_group.RootPart.Velocity = Vector3.Zero;
763 } 763 }
764 update = true; 764// update = true;
765 } 765 }
766 else 766 else
767 { 767 {
@@ -858,7 +858,7 @@ namespace OpenSim.Region.Framework.Scenes
858 if (m_group.RootPart.Velocity != Vector3.Zero) 858 if (m_group.RootPart.Velocity != Vector3.Zero)
859 { 859 {
860 m_group.RootPart.Velocity = Vector3.Zero; 860 m_group.RootPart.Velocity = Vector3.Zero;
861 m_skippedUpdates = 1000; 861// m_skippedUpdates = 1000;
862// m_group.SendGroupRootTerseUpdate(); 862// m_group.SendGroupRootTerseUpdate();
863 m_group.RootPart.ScheduleTerseUpdate(); 863 m_group.RootPart.ScheduleTerseUpdate();
864 } 864 }
@@ -871,7 +871,7 @@ namespace OpenSim.Region.Framework.Scenes
871 if (m_group != null) 871 if (m_group != null)
872 { 872 {
873 m_group.RootPart.Velocity = Vector3.Zero; 873 m_group.RootPart.Velocity = Vector3.Zero;
874 m_skippedUpdates = 1000; 874// m_skippedUpdates = 1000;
875// m_group.SendGroupRootTerseUpdate(); 875// m_group.SendGroupRootTerseUpdate();
876 m_group.RootPart.ScheduleTerseUpdate(); 876 m_group.RootPart.ScheduleTerseUpdate();
877 877
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
index 30f7151..0b8cc7f 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
@@ -250,7 +250,7 @@ namespace OpenSim.Region.Framework.Scenes
250 } 250 }
251 251
252 foreach (TaskInventoryItem item in m_items.Values) 252 foreach (TaskInventoryItem item in m_items.Values)
253 item.GroupID = groupID; 253 item.GroupID = groupID;
254 254
255 m_items.LockItemsForWrite(false); 255 m_items.LockItemsForWrite(false);
256 } 256 }
@@ -1454,7 +1454,7 @@ namespace OpenSim.Region.Framework.Scenes
1454 { 1454 {
1455 if (item.InvType == (int)InventoryType.LSL) 1455 if (item.InvType == (int)InventoryType.LSL)
1456 count++; 1456 count++;
1457 } 1457 }
1458 m_items.LockItemsForRead(false); 1458 m_items.LockItemsForRead(false);
1459 return count; 1459 return count;
1460 } 1460 }
@@ -1479,9 +1479,9 @@ namespace OpenSim.Region.Framework.Scenes
1479 { 1479 {
1480 if (engine.GetScriptState(item.ItemID)) 1480 if (engine.GetScriptState(item.ItemID))
1481 count++; 1481 count++;
1482 }
1482 } 1483 }
1483 } 1484 }
1484 }
1485 return count; 1485 return count;
1486 } 1486 }
1487 1487
diff --git a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs
index c5a3a22..9a20706 100644
--- a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs
+++ b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs
@@ -1400,7 +1400,7 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
1400 value = reader.ReadElementContentAsString("Media", String.Empty); 1400 value = reader.ReadElementContentAsString("Media", String.Empty);
1401 shp.Media = PrimitiveBaseShape.MediaList.FromXml(value); 1401 shp.Media = PrimitiveBaseShape.MediaList.FromXml(value);
1402 } 1402 }
1403 catch (XmlException e) 1403 catch (XmlException)
1404 { 1404 {
1405 // There are versions of OAR files that contain unquoted XML. 1405 // There are versions of OAR files that contain unquoted XML.
1406 // ie ONE comercial fork that never wanted their oars to be read by our code 1406 // ie ONE comercial fork that never wanted their oars to be read by our code