aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorMelanie2012-07-01 03:04:23 +0100
committerMelanie2012-07-01 03:04:23 +0100
commite5eef139ede23f73c3aaccfc54084dfe81bd891a (patch)
tree41058b7c930f87652bc03b60a9e53c041f13ebc9 /OpenSim/Region/Framework
parentMerge branch 'master' into careminster (diff)
parentRemove some mono compiler warnings (diff)
downloadopensim-SC-e5eef139ede23f73c3aaccfc54084dfe81bd891a.zip
opensim-SC-e5eef139ede23f73c3aaccfc54084dfe81bd891a.tar.gz
opensim-SC-e5eef139ede23f73c3aaccfc54084dfe81bd891a.tar.bz2
opensim-SC-e5eef139ede23f73c3aaccfc54084dfe81bd891a.tar.xz
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs38
1 files changed, 0 insertions, 38 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 8c76b82..78edeb0 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -2596,22 +2596,6 @@ namespace OpenSim.Region.Framework.Scenes
2596 newObject.RootPart.ParentGroup.CreateScriptInstances(0, false, DefaultScriptEngine, GetStateSource(newObject)); 2596 newObject.RootPart.ParentGroup.CreateScriptInstances(0, false, DefaultScriptEngine, GetStateSource(newObject));
2597 newObject.ResumeScripts(); 2597 newObject.ResumeScripts();
2598 } 2598 }
2599 else
2600 {
2601 ScenePresence sp;
2602 if (TryGetScenePresence(newObject.OwnerID, out sp))
2603 {
2604 // If the scene presence is here and already a root
2605 // agent, we came from a ;egacy region. Start the scripts
2606 // here as they used to start.
2607 // TODO: Remove in 0.7.3
2608 if (!sp.IsChildAgent)
2609 {
2610 newObject.RootPart.ParentGroup.CreateScriptInstances(0, false, DefaultScriptEngine, GetStateSource(newObject));
2611 newObject.ResumeScripts();
2612 }
2613 }
2614 }
2615 2599
2616 // Do this as late as possible so that listeners have full access to the incoming object 2600 // Do this as late as possible so that listeners have full access to the incoming object
2617 EventManager.TriggerOnIncomingSceneObject(newObject); 2601 EventManager.TriggerOnIncomingSceneObject(newObject);
@@ -2620,28 +2604,6 @@ namespace OpenSim.Region.Framework.Scenes
2620 } 2604 }
2621 2605
2622 /// <summary> 2606 /// <summary>
2623 /// Attachment rezzing
2624 /// </summary>
2625 /// <param name="userID">Agent Unique ID</param>
2626 /// <param name="itemID">Object ID</param>
2627 /// <returns>False</returns>
2628 public virtual bool IncomingCreateObject(UUID userID, UUID itemID)
2629 {
2630 m_log.DebugFormat(" >>> IncomingCreateObject(userID, itemID) <<< {0} {1}", userID, itemID);
2631
2632 // Commented out since this is as yet unused and is arguably not the appropriate place to do this, as
2633 // attachments are being rezzed elsewhere in AddNewClient()
2634// ScenePresence sp = GetScenePresence(userID);
2635// if (sp != null && AttachmentsModule != null)
2636// {
2637// uint attPt = (uint)sp.Appearance.GetAttachpoint(itemID);
2638// AttachmentsModule.RezSingleAttachmentFromInventory(sp.ControllingClient, itemID, attPt);
2639// }
2640
2641 return false;
2642 }
2643
2644 /// <summary>
2645 /// Adds a Scene Object group to the Scene. 2607 /// Adds a Scene Object group to the Scene.
2646 /// Verifies that the creator of the object is not banned from the simulator. 2608 /// Verifies that the creator of the object is not banned from the simulator.
2647 /// Checks if the item is an Attachment 2609 /// Checks if the item is an Attachment