fix llLookAt in non-physical case

This commit is contained in:
UbitUmarov
2015-11-29 18:27:34 +00:00
parent 302d28625d
commit 25f13f7c01

View File

@@ -3575,13 +3575,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
if (strength <= 0.0 || damping <= 0.0)
return;
llSetRot(rot);
llSetLocalRot(rot);
}
else
{
if (strength == 0)
{
llSetRot(rot);
llSetLocalRot(rot);
return;
}