enabled physics plugin flying flags.
parent
d3363bbc28
commit
41f26668d9
|
@ -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);
|
||||||
|
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue