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

0.7.4-extended
Justin Clark-Casey (justincc) 2013-03-14 22:35:41 +00:00
parent 3b13dd56cd
commit b9d4266400
1 changed files with 1 additions and 1 deletions

View File

@ -7894,7 +7894,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
public LSL_Vector llGetGeometricCenter() 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) public LSL_List llGetPrimitiveParams(LSL_List rules)