Fix minor race condition in llGetOmega() where inconsistent results could be returned (accidentally stated that commit 1774c631
was this fix).
Commit 1774c631
was actually a fix for a similar minor race condition in llGetAccel()
0.7.4-extended
parent
b025cdf6be
commit
4531b2274e
|
@ -2341,7 +2341,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
public LSL_Vector llGetOmega()
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
return new LSL_Vector(m_host.AngularVelocity.X, m_host.AngularVelocity.Y, m_host.AngularVelocity.Z);
|
||||
|
||||
return new LSL_Vector(m_host.AngularVelocity);
|
||||
}
|
||||
|
||||
public LSL_Float llGetTimeOfDay()
|
||||
|
|
Loading…
Reference in New Issue