enabled physics plugin flying flags.

Sugilite
MW 2007-06-28 17:48:45 +00:00
parent d3363bbc28
commit 41f26668d9
2 changed files with 3 additions and 2 deletions

View File

@ -36,6 +36,7 @@ namespace OpenSim.Region.Communications.Local
{ {
return this.getUserProfile(name); return this.getUserProfile(name);
} }
public UserProfileData GetUserProfile(LLUUID avatarID) public UserProfileData GetUserProfile(LLUUID avatarID)
{ {
return this.getUserProfile(avatarID); return this.getUserProfile(avatarID);
@ -118,6 +119,7 @@ namespace OpenSim.Region.Communications.Local
{ {
return SetupMasterUser(firstName, lastName, ""); return SetupMasterUser(firstName, lastName, "");
} }
public UserProfileData SetupMasterUser(string firstName, string lastName, string password) public UserProfileData SetupMasterUser(string firstName, string lastName, string password)
{ {
UserProfileData profile = getUserProfile(firstName, lastName); UserProfileData profile = getUserProfile(firstName, lastName);

View File

@ -242,8 +242,7 @@ namespace OpenSim.Region.Environment.Scenes
Vector3 agent_control_v3 = new Vector3(0, 0, 0); Vector3 agent_control_v3 = new Vector3(0, 0, 0);
Axiom.MathLib.Quaternion q = new Axiom.MathLib.Quaternion(bodyRotation.W, bodyRotation.X, bodyRotation.Y, bodyRotation.Z); Axiom.MathLib.Quaternion q = new Axiom.MathLib.Quaternion(bodyRotation.W, bodyRotation.X, bodyRotation.Y, bodyRotation.Z);
this.PhysActor.Flying = ((flags & (uint)MainAvatar.ControlFlags.AGENT_CONTROL_FLY) != 0);
// this.PhysActor.Flying = ((flags & (uint)MainAvatar.ControlFlags.AGENT_CONTROL_FLY) != 0);
if (q != this.bodyRot) if (q != this.bodyRot)
{ {