fix llLookAt in non-physical case

LSLKeyTest
UbitUmarov 2015-11-29 18:27:34 +00:00
parent 302d28625d
commit 25f13f7c01
1 changed files with 2 additions and 2 deletions

View File

@ -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;
} }