Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
commit
dcea23906b
|
@ -272,7 +272,8 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||||
ParcelFlags.AllowGroupScripts |
|
ParcelFlags.AllowGroupScripts |
|
||||||
ParcelFlags.CreateGroupObjects |
|
ParcelFlags.CreateGroupObjects |
|
||||||
ParcelFlags.AllowAPrimitiveEntry |
|
ParcelFlags.AllowAPrimitiveEntry |
|
||||||
ParcelFlags.AllowGroupObjectEntry);
|
ParcelFlags.AllowGroupObjectEntry |
|
||||||
|
ParcelFlags.AllowFly);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_scene.Permissions.CanEditParcelProperties(remote_client.AgentId, this, GroupPowers.LandSetSale))
|
if (m_scene.Permissions.CanEditParcelProperties(remote_client.AgentId, this, GroupPowers.LandSetSale))
|
||||||
|
|
|
@ -3259,10 +3259,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
/// also return a reason.</returns>
|
/// also return a reason.</returns>
|
||||||
public bool NewUserConnection(AgentCircuitData agent, uint teleportFlags, out string reason, bool requirePresenceLookup)
|
public bool NewUserConnection(AgentCircuitData agent, uint teleportFlags, out string reason, bool requirePresenceLookup)
|
||||||
{
|
{
|
||||||
bool vialogin = ((teleportFlags & (uint)Constants.TeleportFlags.ViaLogin) != 0 ||
|
bool vialogin = ((teleportFlags & (uint)TPFlags.ViaLogin) != 0 ||
|
||||||
(teleportFlags & (uint)Constants.TeleportFlags.ViaHGLogin) != 0);
|
(teleportFlags & (uint)TPFlags.ViaHGLogin) != 0);
|
||||||
bool viahome = ((teleportFlags & (uint)Constants.TeleportFlags.ViaHome) != 0);
|
bool viahome = ((teleportFlags & (uint)TPFlags.ViaHome) != 0);
|
||||||
bool godlike = ((teleportFlags & (uint)Constants.TeleportFlags.Godlike) != 0);
|
bool godlike = ((teleportFlags & (uint)TPFlags.Godlike) != 0);
|
||||||
|
|
||||||
reason = String.Empty;
|
reason = String.Empty;
|
||||||
|
|
||||||
|
@ -3275,9 +3275,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
|
|
||||||
// Don't disable this log message - it's too helpful
|
// Don't disable this log message - it's too helpful
|
||||||
m_log.DebugFormat(
|
m_log.DebugFormat(
|
||||||
"[SCENE]: Region {0} told of incoming {1} agent {2} {3} {4} (circuit code {5}, IP {6}, viewer {7}, teleportflags {8}, position {9})",
|
"[SCENE]: Region {0} told of incoming {1} agent {2} {3} {4} (circuit code {5}, IP {6}, viewer {7}, teleportflags ({8}), position {9})",
|
||||||
RegionInfo.RegionName, (agent.child ? "child" : "root"),agent.firstname, agent.lastname,
|
RegionInfo.RegionName, (agent.child ? "child" : "root"),agent.firstname, agent.lastname,
|
||||||
agent.AgentID, agent.circuitcode, agent.IPAddress, agent.Viewer, teleportFlags, agent.startpos);
|
agent.AgentID, agent.circuitcode, agent.IPAddress, agent.Viewer, ((TPFlags)teleportFlags).ToString(), agent.startpos);
|
||||||
|
|
||||||
if (LoginsDisabled)
|
if (LoginsDisabled)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1556,9 +1556,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
dupe.GroupPosition = GroupPosition;
|
dupe.GroupPosition = GroupPosition;
|
||||||
dupe.OffsetPosition = OffsetPosition;
|
dupe.OffsetPosition = OffsetPosition;
|
||||||
dupe.RotationOffset = RotationOffset;
|
dupe.RotationOffset = RotationOffset;
|
||||||
dupe.Velocity = new Vector3(0, 0, 0);
|
dupe.Velocity = Velocity;
|
||||||
dupe.Acceleration = new Vector3(0, 0, 0);
|
dupe.Acceleration = Acceleration;
|
||||||
dupe.AngularVelocity = new Vector3(0, 0, 0);
|
dupe.AngularVelocity = AngularVelocity;
|
||||||
dupe.Flags = Flags;
|
dupe.Flags = Flags;
|
||||||
|
|
||||||
dupe.OwnershipCost = OwnershipCost;
|
dupe.OwnershipCost = OwnershipCost;
|
||||||
|
|
Loading…
Reference in New Issue