diff options
author | Justin Clark-Casey (justincc) | 2012-08-24 21:36:20 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-08-24 21:53:57 +0100 |
commit | 9d5e7c89d95b3dff450454a2577a4bed6562a904 (patch) | |
tree | 4c10f24947fd3c42c426e825f306c7ceda43848d /OpenSim/Region/Framework/Scenes/SceneGraph.cs | |
parent | adding sqlite journal files to .gitignore (diff) | |
download | opensim-SC_OLD-9d5e7c89d95b3dff450454a2577a4bed6562a904.zip opensim-SC_OLD-9d5e7c89d95b3dff450454a2577a4bed6562a904.tar.gz opensim-SC_OLD-9d5e7c89d95b3dff450454a2577a4bed6562a904.tar.bz2 opensim-SC_OLD-9d5e7c89d95b3dff450454a2577a4bed6562a904.tar.xz |
Pass the "attachToBackup" bool given to SceneGraph.AddNewSceneObject() down into the 3-parameter AddNewSceneObject() method instead of always hardcoding true.
This doesn't affect any core OpenSimulator code since all callers were passing true anyway
But it allows region modules to create objects that are never persisted.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneGraph.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index 13842ad..beee503 100644 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -300,7 +300,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
300 | public bool AddNewSceneObject( | 300 | public bool AddNewSceneObject( |
301 | SceneObjectGroup sceneObject, bool attachToBackup, Vector3? pos, Quaternion? rot, Vector3 vel) | 301 | SceneObjectGroup sceneObject, bool attachToBackup, Vector3? pos, Quaternion? rot, Vector3 vel) |
302 | { | 302 | { |
303 | AddNewSceneObject(sceneObject, true, false); | 303 | AddNewSceneObject(sceneObject, attachToBackup, false); |
304 | 304 | ||
305 | if (pos != null) | 305 | if (pos != null) |
306 | sceneObject.AbsolutePosition = (Vector3)pos; | 306 | sceneObject.AbsolutePosition = (Vector3)pos; |