aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs18
-rw-r--r--OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/RemoteSimulationConnector.cs9
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs38
-rw-r--r--OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPrim.cs5
4 files changed, 4 insertions, 66 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs
index 008992e..6eb99ea 100644
--- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs
+++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs
@@ -354,24 +354,6 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Simulation
354 return false; 354 return false;
355 } 355 }
356 356
357 public bool CreateObject(GridRegion destination, UUID userID, UUID itemID)
358 {
359 if (destination == null)
360 return false;
361
362 if (m_scenes.ContainsKey(destination.RegionID))
363 {
364// m_log.DebugFormat(
365// "[LOCAL SIMULATION CONNECTOR]: Found region {0} {1} to send AgentUpdate",
366// s.RegionInfo.RegionName, destination.RegionHandle);
367
368 return m_scenes[destination.RegionID].IncomingCreateObject(userID, itemID);
369 }
370
371 return false;
372 }
373
374
375 #endregion /* IInterregionComms */ 357 #endregion /* IInterregionComms */
376 358
377 #region Misc 359 #region Misc
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/RemoteSimulationConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/RemoteSimulationConnector.cs
index d395413..68be552 100644
--- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/RemoteSimulationConnector.cs
+++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/RemoteSimulationConnector.cs
@@ -315,13 +315,6 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Simulation
315 return false; 315 return false;
316 } 316 }
317 317
318 public bool CreateObject(GridRegion destination, UUID userID, UUID itemID)
319 {
320 // Not Implemented
321 return false;
322 }
323
324 #endregion /* IInterregionComms */ 318 #endregion /* IInterregionComms */
325
326 } 319 }
327} 320} \ No newline at end of file
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
diff --git a/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPrim.cs b/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPrim.cs
index b89eeed..47d7df3 100644
--- a/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPrim.cs
+++ b/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPrim.cs
@@ -37,7 +37,7 @@ namespace OpenSim.Region.Physics.BasicPhysicsPlugin
37 public class BasicPhysicsPrim : PhysicsActor 37 public class BasicPhysicsPrim : PhysicsActor
38 { 38 {
39 private Vector3 _size; 39 private Vector3 _size;
40 private PrimitiveBaseShape _shape; 40// private PrimitiveBaseShape _shape;
41 41
42 public BasicPhysicsPrim( 42 public BasicPhysicsPrim(
43 string name, uint localId, Vector3 position, Vector3 size, Quaternion orientation, PrimitiveBaseShape shape) 43 string name, uint localId, Vector3 position, Vector3 size, Quaternion orientation, PrimitiveBaseShape shape)
@@ -136,7 +136,8 @@ namespace OpenSim.Region.Physics.BasicPhysicsPlugin
136 136
137 public override PrimitiveBaseShape Shape 137 public override PrimitiveBaseShape Shape
138 { 138 {
139 set { _shape = value; } 139// set { _shape = value; }
140 set {}
140 } 141 }
141 142
142 public override float Mass 143 public override float Mass