Fix minor race condition in llGetGeometricCenter() if this was changing whilst the function was called.
parent
3b13dd56cd
commit
b9d4266400
|
@ -7894,7 +7894,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)
|
||||
|
|
Loading…
Reference in New Issue