diff options
author | Melanie | 2012-08-14 02:34:03 +0100 |
---|---|---|
committer | Melanie | 2012-08-14 02:34:03 +0100 |
commit | 9b014a71679b6697954eb446be9f3d7c2e0a61b9 (patch) | |
tree | a454037938403aa76339b021dab93af98fab1bf2 /OpenSim/Region/Framework | |
parent | Merge branch 'avination' into ubitwork (diff) | |
parent | Merge branch 'master' into careminster (diff) | |
download | opensim-SC-9b014a71679b6697954eb446be9f3d7c2e0a61b9.zip opensim-SC-9b014a71679b6697954eb446be9f3d7c2e0a61b9.tar.gz opensim-SC-9b014a71679b6697954eb446be9f3d7c2e0a61b9.tar.bz2 opensim-SC-9b014a71679b6697954eb446be9f3d7c2e0a61b9.tar.xz |
Merge branch 'careminster' into avination
Conflicts:
OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 11 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 2 |
3 files changed, 11 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs b/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs index 11a13e1..90a13a7 100644 --- a/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs | |||
@@ -84,7 +84,7 @@ namespace OpenSim.Region.Framework.Interfaces | |||
84 | /// <param name="AttachmentPt"></param> | 84 | /// <param name="AttachmentPt"></param> |
85 | /// <param name="silent"></param> | 85 | /// <param name="silent"></param> |
86 | /// <returns>true if the object was successfully attached, false otherwise</returns> | 86 | /// <returns>true if the object was successfully attached, false otherwise</returns> |
87 | bool AttachObject(IScenePresence sp, SceneObjectGroup grp, uint AttachmentPt, bool silent, bool useAttachmentInfo); | 87 | bool AttachObject(IScenePresence sp, SceneObjectGroup grp, uint AttachmentPt, bool silent, bool useAttachmentInfo, bool temp); |
88 | 88 | ||
89 | /// <summary> | 89 | /// <summary> |
90 | /// Rez an attachment from user inventory and change inventory status to match. | 90 | /// Rez an attachment from user inventory and change inventory status to match. |
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 3db7c7d..1fc4c52 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -842,7 +842,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
842 | m_update_presences = startupConfig.GetInt( "UpdateAgentsEveryNFrames", m_update_presences); | 842 | m_update_presences = startupConfig.GetInt( "UpdateAgentsEveryNFrames", m_update_presences); |
843 | m_update_terrain = startupConfig.GetInt( "UpdateTerrainEveryNFrames", m_update_terrain); | 843 | m_update_terrain = startupConfig.GetInt( "UpdateTerrainEveryNFrames", m_update_terrain); |
844 | m_update_temp_cleaning = startupConfig.GetInt( "UpdateTempCleaningEveryNFrames", m_update_temp_cleaning); | 844 | m_update_temp_cleaning = startupConfig.GetInt( "UpdateTempCleaningEveryNFrames", m_update_temp_cleaning); |
845 | SendPeriodicAppearanceUpdates = startupConfig.GetBoolean("SendPeriodicAppearanceUpdates", SendPeriodicAppearanceUpdates); | ||
846 | } | 845 | } |
847 | } | 846 | } |
848 | catch (Exception e) | 847 | catch (Exception e) |
@@ -850,6 +849,14 @@ namespace OpenSim.Region.Framework.Scenes | |||
850 | m_log.Error("[SCENE]: Failed to load StartupConfig: " + e.ToString()); | 849 | m_log.Error("[SCENE]: Failed to load StartupConfig: " + e.ToString()); |
851 | } | 850 | } |
852 | 851 | ||
852 | // FIXME: Ultimately this should be in a module. | ||
853 | IConfig appearanceConfig = m_config.Configs["Appearance"]; | ||
854 | if (appearanceConfig != null) | ||
855 | { | ||
856 | SendPeriodicAppearanceUpdates | ||
857 | = appearanceConfig.GetBoolean("ResendAppearanceUpdates", SendPeriodicAppearanceUpdates); | ||
858 | } | ||
859 | |||
853 | #endregion Region Config | 860 | #endregion Region Config |
854 | 861 | ||
855 | #region Interest Management | 862 | #region Interest Management |
@@ -2748,7 +2755,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2748 | RootPrim.RemFlag(PrimFlags.TemporaryOnRez); | 2755 | RootPrim.RemFlag(PrimFlags.TemporaryOnRez); |
2749 | 2756 | ||
2750 | if (AttachmentsModule != null) | 2757 | if (AttachmentsModule != null) |
2751 | AttachmentsModule.AttachObject(sp, grp, 0, false, false); | 2758 | AttachmentsModule.AttachObject(sp, grp, 0, false, false, false); |
2752 | } | 2759 | } |
2753 | else | 2760 | else |
2754 | { | 2761 | { |
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index d51281d..d837adb 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -951,7 +951,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
951 | /// its existing localID and UUID. | 951 | /// its existing localID and UUID. |
952 | /// </summary> | 952 | /// </summary> |
953 | /// <param name='part'>Root part for this scene object.</param> | 953 | /// <param name='part'>Root part for this scene object.</param> |
954 | public SceneObjectGroup(SceneObjectPart part) | 954 | public SceneObjectGroup(SceneObjectPart part) : this() |
955 | { | 955 | { |
956 | SetRootPart(part); | 956 | SetRootPart(part); |
957 | } | 957 | } |