aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-08-24 21:36:20 +0100
committerJustin Clark-Casey (justincc)2012-08-24 21:36:20 +0100
commitcd325fdf021be20876340c85201efbd8e918028a (patch)
tree427c0bce26064feb3c1e7dcfbb682033882ca9b1 /OpenSim/Region/Framework
parentadding sqlite journal files to .gitignore (diff)
downloadopensim-SC-cd325fdf021be20876340c85201efbd8e918028a.zip
opensim-SC-cd325fdf021be20876340c85201efbd8e918028a.tar.gz
opensim-SC-cd325fdf021be20876340c85201efbd8e918028a.tar.bz2
opensim-SC-cd325fdf021be20876340c85201efbd8e918028a.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 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneGraph.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
index b6339fb..209a770 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;