Adjust the quanterions used in the rez coalsced object tests to get sensible bounding box and offset numbers.

Extend test to check position of objects in the rezzed coalescence.
This commit is contained in:
Justin Clark-Casey (justincc)
2011-04-13 22:29:12 +01:00
parent 68cc5b46fe
commit c81f5bfc5c
3 changed files with 24 additions and 5 deletions

View File

@@ -2088,7 +2088,14 @@ namespace OpenSim.Region.Framework.Scenes
axPos *= parentRot;
Vector3 translationOffsetPosition = axPos;
return GroupPosition + translationOffsetPosition;
// m_log.DebugFormat("[SCENE OBJECT PART]: Found group pos {0} for part {1}", GroupPosition, Name);
Vector3 worldPos = GroupPosition + translationOffsetPosition;
// m_log.DebugFormat("[SCENE OBJECT PART]: Found world pos {0} for part {1}", worldPos, Name);
return worldPos;
}
/// <summary>