diff options
author | Melanie | 2010-10-06 00:27:10 +0100 |
---|---|---|
committer | Melanie | 2010-10-06 00:27:10 +0100 |
commit | d8149373c15d9ec39c0f836a337e58b633f45829 (patch) | |
tree | 3678027b5eb7f1cdfb29b1c0c80bd0c3d7a62ae6 /OpenSim/Region/Framework | |
parent | Avoid throwing errors when adding existing meshes to the render scene (diff) | |
parent | Remove sirikata project (diff) | |
download | opensim-SC_OLD-d8149373c15d9ec39c0f836a337e58b633f45829.zip opensim-SC_OLD-d8149373c15d9ec39c0f836a337e58b633f45829.tar.gz opensim-SC_OLD-d8149373c15d9ec39c0f836a337e58b633f45829.tar.bz2 opensim-SC_OLD-d8149373c15d9ec39c0f836a337e58b633f45829.tar.xz |
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/Framework')
4 files changed, 6 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/ITerrain.cs b/OpenSim/Region/Framework/Interfaces/ITerrain.cs index 8aacb35..38cf020 100644 --- a/OpenSim/Region/Framework/Interfaces/ITerrain.cs +++ b/OpenSim/Region/Framework/Interfaces/ITerrain.cs | |||
@@ -26,6 +26,7 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using OpenSim.Framework; | 28 | using OpenSim.Framework; |
29 | using OpenMetaverse; | ||
29 | 30 | ||
30 | namespace OpenSim.Region.Framework.Interfaces | 31 | namespace OpenSim.Region.Framework.Interfaces |
31 | { | 32 | { |
@@ -74,6 +75,7 @@ namespace OpenSim.Region.Framework.Interfaces | |||
74 | public interface IMapImageGenerator | 75 | public interface IMapImageGenerator |
75 | { | 76 | { |
76 | System.Drawing.Bitmap CreateMapTile(); | 77 | System.Drawing.Bitmap CreateMapTile(); |
78 | System.Drawing.Bitmap CreateViewImage(Vector3 camPos, Vector3 camDir, float fov, int width, int height); | ||
77 | byte[] WriteJpeg2000Image(); | 79 | byte[] WriteJpeg2000Image(); |
78 | } | 80 | } |
79 | } | 81 | } |
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 9bb961d..efdb94c 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -2800,7 +2800,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2800 | UUID = UUID.Random(); | 2800 | UUID = UUID.Random(); |
2801 | LinkNum = linkNum; | 2801 | LinkNum = linkNum; |
2802 | LocalId = 0; | 2802 | LocalId = 0; |
2803 | Inventory.ResetInventoryIDs(); | 2803 | Inventory.ResetInventoryIDs(); |
2804 | } | 2804 | } |
2805 | 2805 | ||
2806 | /// <summary> | 2806 | /// <summary> |
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index ec3f004..618f425 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1666,7 +1666,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1666 | } | 1666 | } |
1667 | 1667 | ||
1668 | // If the agent update does move the avatar, then calculate the force ready for the velocity update, | 1668 | // If the agent update does move the avatar, then calculate the force ready for the velocity update, |
1669 | // which occurs later in the main scene loop | 1669 | // which occurs later in the main scene loop |
1670 | if (update_movementflag || (update_rotation && DCFlagKeyPressed)) | 1670 | if (update_movementflag || (update_rotation && DCFlagKeyPressed)) |
1671 | { | 1671 | { |
1672 | // m_log.DebugFormat("{0} {1}", update_movementflag, (update_rotation && DCFlagKeyPressed)); | 1672 | // m_log.DebugFormat("{0} {1}", update_movementflag, (update_rotation && DCFlagKeyPressed)); |
diff --git a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectBasicTests.cs b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectBasicTests.cs index e6ff0c0..5616a4e 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectBasicTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectBasicTests.cs | |||
@@ -210,7 +210,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
210 | = new SceneObjectPart(UUID.Zero, PrimitiveBaseShape.Default, Vector3.Zero, Quaternion.Identity, Vector3.Zero) | 210 | = new SceneObjectPart(UUID.Zero, PrimitiveBaseShape.Default, Vector3.Zero, Quaternion.Identity, Vector3.Zero) |
211 | { Name = childPartName, UUID = childPartUuid }; | 211 | { Name = childPartName, UUID = childPartUuid }; |
212 | 212 | ||
213 | SceneObjectGroup sog = new SceneObjectGroup(rootPart); | 213 | SceneObjectGroup sog = new SceneObjectGroup(rootPart); |
214 | sog.AddPart(linkPart); | 214 | sog.AddPart(linkPart); |
215 | 215 | ||
216 | Assert.That(sog.UUID, Is.EqualTo(rootPartUuid)); | 216 | Assert.That(sog.UUID, Is.EqualTo(rootPartUuid)); |
@@ -221,7 +221,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
221 | sog.UUID = newRootPartUuid; | 221 | sog.UUID = newRootPartUuid; |
222 | 222 | ||
223 | Assert.That(sog.UUID, Is.EqualTo(newRootPartUuid)); | 223 | Assert.That(sog.UUID, Is.EqualTo(newRootPartUuid)); |
224 | Assert.That(sog.RootPart.UUID, Is.EqualTo(newRootPartUuid)); | 224 | Assert.That(sog.RootPart.UUID, Is.EqualTo(newRootPartUuid)); |
225 | Assert.That(sog.Parts.Length, Is.EqualTo(2)); | 225 | Assert.That(sog.Parts.Length, Is.EqualTo(2)); |
226 | } | 226 | } |
227 | } | 227 | } |