Fix minor race condition in llGetGeometricCenter() if this was changing whilst the function was called.

user_profiles
Justin Clark-Casey (justincc) 2013-03-14 22:35:41 +00:00
parent a6f8638174
commit b23009e480
1 changed files with 1 additions and 1 deletions

View File

@ -7967,7 +7967,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
public LSL_Vector llGetGeometricCenter()
{
return new LSL_Vector(m_host.GetGeometricCenter().X, m_host.GetGeometricCenter().Y, m_host.GetGeometricCenter().Z);
return new LSL_Vector(m_host.GetGeometricCenter());
}
public LSL_List llGetPrimitiveParams(LSL_List rules)