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