stop using a vector3 to store axis locks 3bit flags in ubOde

This commit is contained in:
UbitUmarov
2015-10-20 19:33:15 +01:00
parent 0045398324
commit f6891b36be
2 changed files with 46 additions and 38 deletions

View File

@@ -539,7 +539,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde
}
public override void LockAngularMotion(Vector3 axis)
public override void LockAngularMotion(byte axislocks)
{
}
@@ -1743,7 +1743,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde
{
}
private void changeAngularLock(Vector3 arg)
private void changeAngularLock(byte arg)
{
}
@@ -1892,7 +1892,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde
break;
case changes.AngLock:
changeAngularLock((Vector3)arg);
changeAngularLock((byte)arg);
break;
case changes.Size: