Add UUID to physics prim name parameter so that diagnostic messages can be made more useful.

If a separate UUID parameter is better for the future then this can be added later on.
viewer-2-initial-appearance
Justin Clark-Casey (justincc) 2010-09-25 00:51:40 +01:00
parent b366ad5012
commit 6325fa515d
2 changed files with 3 additions and 3 deletions

View File

@ -1434,7 +1434,7 @@ namespace OpenSim.Region.Framework.Scenes
part.PhysActor
= m_scene.PhysicsScene.AddPrimShape(
part.Name,
string.Format("{0}/{1}", part.Name, part.UUID),
pbs,
part.AbsolutePosition,
part.Scale,

View File

@ -1534,7 +1534,7 @@ namespace OpenSim.Region.Framework.Scenes
if (!isPhantom && !IsAttachment && !(Shape.PathCurve == (byte) Extrusion.Flexible))
{
PhysActor = m_parentGroup.Scene.PhysicsScene.AddPrimShape(
Name,
string.Format("{0}/{1}", Name, UUID),
Shape,
AbsolutePosition,
Scale,
@ -4368,7 +4368,7 @@ namespace OpenSim.Region.Framework.Scenes
{
// It's not phantom anymore. So make sure the physics engine get's knowledge of it
PhysActor = m_parentGroup.Scene.PhysicsScene.AddPrimShape(
Name,
string.Format("{0}/{1}", Name, UUID),
Shape,
AbsolutePosition,
Scale,