diff options
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 4e79311..d2b4fb2 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -909,15 +909,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
909 | public string Description | 909 | public string Description |
910 | { | 910 | { |
911 | get { return m_description; } | 911 | get { return m_description; } |
912 | set | 912 | set { m_description = value; } |
913 | { | ||
914 | m_description = value; | ||
915 | PhysicsActor actor = PhysActor; | ||
916 | if (actor != null) | ||
917 | { | ||
918 | actor.SOPDescription = value; | ||
919 | } | ||
920 | } | ||
921 | } | 913 | } |
922 | 914 | ||
923 | /// <value> | 915 | /// <value> |
@@ -1543,8 +1535,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1543 | // Basic Physics returns null.. joy joy joy. | 1535 | // Basic Physics returns null.. joy joy joy. |
1544 | if (PhysActor != null) | 1536 | if (PhysActor != null) |
1545 | { | 1537 | { |
1546 | PhysActor.SOPName = this.Name; // save object name and desc into the PhysActor so ODE internals know the joint/body info | 1538 | PhysActor.SOPName = this.Name; // save object into the PhysActor so ODE internals know the joint/body info |
1547 | PhysActor.SOPDescription = this.Description; | ||
1548 | PhysActor.SetMaterial(Material); | 1539 | PhysActor.SetMaterial(Material); |
1549 | DoPhysicsPropertyUpdate(RigidBody, true); | 1540 | DoPhysicsPropertyUpdate(RigidBody, true); |
1550 | PhysActor.SetVolumeDetect(VolumeDetectActive ? 1 : 0); | 1541 | PhysActor.SetVolumeDetect(VolumeDetectActive ? 1 : 0); |