diff options
author | Melanie Thielker | 2008-11-18 17:21:33 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-11-18 17:21:33 +0000 |
commit | 9d7e503ce3dd19ede611f7831d455aae5bf6e1e1 (patch) | |
tree | 83d439c2a1bbdeb16c759c10565f92388d68f884 /OpenSim/Region/Environment/Scenes/Scene.cs | |
parent | Fixed MySQL and SQLite so they will save the (diff) | |
download | opensim-SC_OLD-9d7e503ce3dd19ede611f7831d455aae5bf6e1e1.zip opensim-SC_OLD-9d7e503ce3dd19ede611f7831d455aae5bf6e1e1.tar.gz opensim-SC_OLD-9d7e503ce3dd19ede611f7831d455aae5bf6e1e1.tar.bz2 opensim-SC_OLD-9d7e503ce3dd19ede611f7831d455aae5bf6e1e1.tar.xz |
Prevent a nullref when building new prims while others watch
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index e374bba..7ea4686 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -1772,8 +1772,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
1772 | AdaptTree(ref shape); | 1772 | AdaptTree(ref shape); |
1773 | } | 1773 | } |
1774 | 1774 | ||
1775 | sceneObject.SetGroup(groupID, null); | ||
1776 | AddNewSceneObject(sceneObject, true); | 1775 | AddNewSceneObject(sceneObject, true); |
1776 | sceneObject.SetGroup(groupID, null); | ||
1777 | 1777 | ||
1778 | return sceneObject; | 1778 | return sceneObject; |
1779 | } | 1779 | } |