diff options
author | Justin Clark-Casey (justincc) | 2010-09-08 01:05:56 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-09-08 01:05:56 +0100 |
commit | b8d14fcc4a7d819af5015144518ce31cd86d0383 (patch) | |
tree | 67119cd2cb9bf00e7bbc9ef0e9c4f139f4dbc643 /OpenSim/Region/Framework | |
parent | If a scene object part UUID is changed (only possible when not in a scene), t... (diff) | |
parent | Rolling back the recent libomv update but keeping the ExpiringCache cleanups ... (diff) | |
download | opensim-SC_OLD-b8d14fcc4a7d819af5015144518ce31cd86d0383.zip opensim-SC_OLD-b8d14fcc4a7d819af5015144518ce31cd86d0383.tar.gz opensim-SC_OLD-b8d14fcc4a7d819af5015144518ce31cd86d0383.tar.bz2 opensim-SC_OLD-b8d14fcc4a7d819af5015144518ce31cd86d0383.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to '')
3 files changed, 10 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index e7175c5..dfb26b9 100644 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -1632,6 +1632,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
1632 | // Unlink all child parts from their groups | 1632 | // Unlink all child parts from their groups |
1633 | // | 1633 | // |
1634 | child.ParentGroup.DelinkFromGroup(child, true); | 1634 | child.ParentGroup.DelinkFromGroup(child, true); |
1635 | |||
1636 | // These are not in affected groups and will not be | ||
1637 | // handled further. Do the honors here. | ||
1638 | child.ParentGroup.HasGroupChanged = true; | ||
1639 | child.ParentGroup.ScheduleGroupForFullUpdate(); | ||
1635 | } | 1640 | } |
1636 | 1641 | ||
1637 | foreach (SceneObjectPart root in rootParts) | 1642 | foreach (SceneObjectPart root in rootParts) |
diff --git a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectLinkingTests.cs b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectLinkingTests.cs index 3c03ba0..e3ef263 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectLinkingTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectLinkingTests.cs | |||
@@ -307,7 +307,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
307 | public void TestDelinkPersistence() | 307 | public void TestDelinkPersistence() |
308 | { | 308 | { |
309 | TestHelper.InMethod(); | 309 | TestHelper.InMethod(); |
310 | // log4net.Config.XmlConfigurator.Configure(); | 310 | //log4net.Config.XmlConfigurator.Configure(); |
311 | 311 | ||
312 | TestScene scene = SceneSetupHelpers.SetupScene(); | 312 | TestScene scene = SceneSetupHelpers.SetupScene(); |
313 | 313 | ||
@@ -342,4 +342,4 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
342 | Assert.That(storedObjects[0].Children.ContainsKey(rootPartUuid)); | 342 | Assert.That(storedObjects[0].Children.ContainsKey(rootPartUuid)); |
343 | } | 343 | } |
344 | } | 344 | } |
345 | } \ No newline at end of file | 345 | } |
diff --git a/OpenSim/Region/Framework/Scenes/Tests/TaskInventoryTests.cs b/OpenSim/Region/Framework/Scenes/Tests/TaskInventoryTests.cs index da8199d..5e491c2 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/TaskInventoryTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/TaskInventoryTests.cs | |||
@@ -75,7 +75,9 @@ namespace OpenSim.Region.Framework.Tests | |||
75 | 75 | ||
76 | protected TaskInventoryItem CreateSOItem1(Scene scene, SceneObjectPart part) | 76 | protected TaskInventoryItem CreateSOItem1(Scene scene, SceneObjectPart part) |
77 | { | 77 | { |
78 | AssetNotecard nc = new AssetNotecard("Hello World!"); | 78 | AssetNotecard nc = new AssetNotecard(); |
79 | nc.BodyText = "Hello World!"; | ||
80 | nc.Encode(); | ||
79 | UUID ncAssetUuid = new UUID("00000000-0000-0000-1000-000000000000"); | 81 | UUID ncAssetUuid = new UUID("00000000-0000-0000-1000-000000000000"); |
80 | UUID ncItemUuid = new UUID("00000000-0000-0000-1100-000000000000"); | 82 | UUID ncItemUuid = new UUID("00000000-0000-0000-1100-000000000000"); |
81 | AssetBase ncAsset | 83 | AssetBase ncAsset |