Remove unused PhysicsActor.SOPDescription

iar_mods
Justin Clark-Casey (justincc) 2011-11-21 17:47:30 +00:00
parent 4485007fce
commit e0887944a0
1 changed files with 2 additions and 11 deletions

View File

@ -909,15 +909,7 @@ namespace OpenSim.Region.Framework.Scenes
public string Description public string Description
{ {
get { return m_description; } get { return m_description; }
set set { m_description = value; }
{
m_description = value;
PhysicsActor actor = PhysActor;
if (actor != null)
{
actor.SOPDescription = value;
}
}
} }
/// <value> /// <value>
@ -1543,8 +1535,7 @@ namespace OpenSim.Region.Framework.Scenes
// Basic Physics returns null.. joy joy joy. // Basic Physics returns null.. joy joy joy.
if (PhysActor != null) if (PhysActor != null)
{ {
PhysActor.SOPName = this.Name; // save object name and desc into the PhysActor so ODE internals know the joint/body info PhysActor.SOPName = this.Name; // save object into the PhysActor so ODE internals know the joint/body info
PhysActor.SOPDescription = this.Description;
PhysActor.SetMaterial(Material); PhysActor.SetMaterial(Material);
DoPhysicsPropertyUpdate(RigidBody, true); DoPhysicsPropertyUpdate(RigidBody, true);
PhysActor.SetVolumeDetect(VolumeDetectActive ? 1 : 0); PhysActor.SetVolumeDetect(VolumeDetectActive ? 1 : 0);