diff options
author | Melanie | 2012-01-25 00:45:57 +0000 |
---|---|---|
committer | Melanie | 2012-01-25 00:45:57 +0000 |
commit | 427ab55058128c3cebd5ebd5e3aed93bc4337a2b (patch) | |
tree | e50bf3ef199b3aeb208ce3cabbd242e10e65c8ca /OpenSim/Region/Framework/Scenes/SceneGraph.cs | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Make errors reported by OpenSim when it halts because it can't find certain c... (diff) | |
download | opensim-SC-427ab55058128c3cebd5ebd5e3aed93bc4337a2b.zip opensim-SC-427ab55058128c3cebd5ebd5e3aed93bc4337a2b.tar.gz opensim-SC-427ab55058128c3cebd5ebd5e3aed93bc4337a2b.tar.bz2 opensim-SC-427ab55058128c3cebd5ebd5e3aed93bc4337a2b.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/Framework/Scenes/SceneGraph.cs
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneGraph.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneGraph.cs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index 6c57d57..c4dd655 100644 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -66,12 +66,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
66 | protected internal event PhysicsCrash UnRecoverableError; | 66 | protected internal event PhysicsCrash UnRecoverableError; |
67 | private PhysicsCrash handlerPhysicsCrash = null; | 67 | private PhysicsCrash handlerPhysicsCrash = null; |
68 | 68 | ||
69 | public event ObjectDuplicateDelegate OnObjectDuplicate; | ||
70 | public event AttachToBackupDelegate OnAttachToBackup; | 69 | public event AttachToBackupDelegate OnAttachToBackup; |
71 | public event DetachFromBackupDelegate OnDetachFromBackup; | 70 | public event DetachFromBackupDelegate OnDetachFromBackup; |
72 | public event ChangedBackupDelegate OnChangeBackup; | 71 | public event ChangedBackupDelegate OnChangeBackup; |
73 | public event ObjectCreateDelegate OnObjectCreate; | ||
74 | public event ObjectDeleteDelegate OnObjectRemove; | ||
75 | 72 | ||
76 | #endregion | 73 | #endregion |
77 | 74 | ||
@@ -445,9 +442,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
445 | if (attachToBackup) | 442 | if (attachToBackup) |
446 | sceneObject.AttachToBackup(); | 443 | sceneObject.AttachToBackup(); |
447 | 444 | ||
448 | if (OnObjectCreate != null) | ||
449 | OnObjectCreate(sceneObject); | ||
450 | |||
451 | lock (SceneObjectGroupsByFullID) | 445 | lock (SceneObjectGroupsByFullID) |
452 | SceneObjectGroupsByFullID[sceneObject.UUID] = sceneObject; | 446 | SceneObjectGroupsByFullID[sceneObject.UUID] = sceneObject; |
453 | 447 | ||
@@ -496,9 +490,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
496 | if ((grp.RootPart.Flags & PrimFlags.Physics) == PrimFlags.Physics) | 490 | if ((grp.RootPart.Flags & PrimFlags.Physics) == PrimFlags.Physics) |
497 | RemovePhysicalPrim(grp.PrimCount); | 491 | RemovePhysicalPrim(grp.PrimCount); |
498 | } | 492 | } |
499 | |||
500 | if (OnObjectRemove != null) | ||
501 | OnObjectRemove(Entities[uuid]); | ||
502 | 493 | ||
503 | lock (SceneObjectGroupsByFullID) | 494 | lock (SceneObjectGroupsByFullID) |
504 | SceneObjectGroupsByFullID.Remove(grp.UUID); | 495 | SceneObjectGroupsByFullID.Remove(grp.UUID); |
@@ -2091,9 +2082,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
2091 | // required for physics to update it's position | 2082 | // required for physics to update it's position |
2092 | copy.AbsolutePosition = copy.AbsolutePosition; | 2083 | copy.AbsolutePosition = copy.AbsolutePosition; |
2093 | 2084 | ||
2094 | if (OnObjectDuplicate != null) | ||
2095 | OnObjectDuplicate(original, copy); | ||
2096 | |||
2097 | return copy; | 2085 | return copy; |
2098 | } | 2086 | } |
2099 | } | 2087 | } |