fix llLookAt in non-physical case
parent
302d28625d
commit
25f13f7c01
|
@ -3575,13 +3575,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
if (strength <= 0.0 || damping <= 0.0)
|
if (strength <= 0.0 || damping <= 0.0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
llSetRot(rot);
|
llSetLocalRot(rot);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (strength == 0)
|
if (strength == 0)
|
||||||
{
|
{
|
||||||
llSetRot(rot);
|
llSetLocalRot(rot);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue