aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorMelanie2011-03-27 21:41:54 +0100
committerMelanie2011-03-27 21:41:54 +0100
commita62b435a396a5837fd1e26ac905520f895d8610a (patch)
tree743b8cb91fa101ce461b2fc8ebf7078165e3c7d1 /OpenSim/Region/Framework/Scenes/Scene.cs
parentUpgrade terse to full update on root rotation change. Not entirely sure why, ... (diff)
parentMerge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff)
downloadopensim-SC_OLD-a62b435a396a5837fd1e26ac905520f895d8610a.zip
opensim-SC_OLD-a62b435a396a5837fd1e26ac905520f895d8610a.tar.gz
opensim-SC_OLD-a62b435a396a5837fd1e26ac905520f895d8610a.tar.bz2
opensim-SC_OLD-a62b435a396a5837fd1e26ac905520f895d8610a.tar.xz
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs20
1 files changed, 16 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index e5c0f38..4eb5d64 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -1137,7 +1137,7 @@ namespace OpenSim.Region.Framework.Scenes
1137 // 1137 //
1138 while (m_regInfo.EstateSettings.EstateOwner == UUID.Zero && MainConsole.Instance != null) 1138 while (m_regInfo.EstateSettings.EstateOwner == UUID.Zero && MainConsole.Instance != null)
1139 { 1139 {
1140 MainConsole.Instance.Output("The current estate has no owner set."); 1140 MainConsole.Instance.OutputFormat("Estate {0} has no owner set.", m_regInfo.EstateSettings.EstateName);
1141 List<char> excluded = new List<char>(new char[1]{' '}); 1141 List<char> excluded = new List<char>(new char[1]{' '});
1142 string first = MainConsole.Instance.CmdPrompt("Estate owner first name", "Test", excluded); 1142 string first = MainConsole.Instance.CmdPrompt("Estate owner first name", "Test", excluded);
1143 string last = MainConsole.Instance.CmdPrompt("Estate owner last name", "User", excluded); 1143 string last = MainConsole.Instance.CmdPrompt("Estate owner last name", "User", excluded);
@@ -1998,8 +1998,14 @@ namespace OpenSim.Region.Framework.Scenes
1998 /// If false, it is left to the caller to schedule the update 1998 /// If false, it is left to the caller to schedule the update
1999 /// </param> 1999 /// </param>
2000 public bool AddNewSceneObject(SceneObjectGroup sceneObject, bool attachToBackup, bool sendClientUpdates) 2000 public bool AddNewSceneObject(SceneObjectGroup sceneObject, bool attachToBackup, bool sendClientUpdates)
2001 { 2001 {
2002 return m_sceneGraph.AddNewSceneObject(sceneObject, attachToBackup, sendClientUpdates); 2002 if (m_sceneGraph.AddNewSceneObject(sceneObject, attachToBackup, sendClientUpdates))
2003 {
2004 EventManager.TriggerObjectAddedToScene(sceneObject);
2005 return true;
2006 }
2007
2008 return false;
2003 } 2009 }
2004 2010
2005 /// <summary> 2011 /// <summary>
@@ -2016,7 +2022,13 @@ namespace OpenSim.Region.Framework.Scenes
2016 public bool AddNewSceneObject( 2022 public bool AddNewSceneObject(
2017 SceneObjectGroup sceneObject, bool attachToBackup, Vector3 pos, Quaternion rot, Vector3 vel) 2023 SceneObjectGroup sceneObject, bool attachToBackup, Vector3 pos, Quaternion rot, Vector3 vel)
2018 { 2024 {
2019 return m_sceneGraph.AddNewSceneObject(sceneObject, attachToBackup, pos, rot, vel); 2025 if (m_sceneGraph.AddNewSceneObject(sceneObject, attachToBackup, pos, rot, vel))
2026 {
2027 EventManager.TriggerObjectAddedToScene(sceneObject);
2028 return true;
2029 }
2030
2031 return false;
2020 } 2032 }
2021 2033
2022 /// <summary> 2034 /// <summary>