Revert " lltargetomega efective spinrate now multiplied by gain ( need check )"

Undo figuring gain into spinrate in llTargetOmega. In SL, gain has null
effect on nonphysical spinning objects.

This reverts commit df55de5b3d.
avinationmerge
Melanie 2012-07-13 00:01:01 +02:00
parent 4c2523b1c2
commit 4e97237460
1 changed files with 0 additions and 1 deletions

View File

@ -3822,7 +3822,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
protected void TargetOmega(SceneObjectPart part, LSL_Vector axis, double spinrate, double gain)
{
spinrate *= gain;
part.UpdateAngularVelocity(new Vector3((float)(axis.x * spinrate), (float)(axis.y * spinrate), (float)(axis.z * spinrate)));
}