Merge branch 'careminster' into careminster-presence-refactor

avinationmerge
Melanie 2010-04-05 18:22:15 +01:00
commit ba31b31ed0
5 changed files with 12 additions and 6 deletions

View File

@ -31,6 +31,7 @@ namespace OpenSim
{ {
private const string VERSION_NUMBER = "0.7CM"; private const string VERSION_NUMBER = "0.7CM";
private const Flavour VERSION_FLAVOUR = Flavour.Dev; private const Flavour VERSION_FLAVOUR = Flavour.Dev;
public enum Flavour public enum Flavour
{ {
Unknown, Unknown,

View File

@ -359,7 +359,7 @@ namespace OpenSim.Region.CoreModules.World.Land
{ {
if (avatar.AbsolutePosition.Z < LandChannel.BAN_LINE_SAFETY_HIEGHT) if (avatar.AbsolutePosition.Z < LandChannel.BAN_LINE_SAFETY_HIEGHT)
{ {
if (parcelAvatarIsEntering.IsBannedFromLand(avatar.UUID)) if (parcelAvatarIsEntering.IsEitherBannedOrRestricted(avatar.UUID))
{ {
SendYouAreBannedNotice(avatar); SendYouAreBannedNotice(avatar);
ForceAvatarToPosition(avatar, m_scene.GetNearestAllowedPosition(avatar)); ForceAvatarToPosition(avatar, m_scene.GetNearestAllowedPosition(avatar));
@ -989,6 +989,10 @@ namespace OpenSim.Region.CoreModules.World.Land
//Owner Flag //Owner Flag
tempByte = Convert.ToByte(tempByte | LandChannel.LAND_TYPE_OWNED_BY_REQUESTER); tempByte = Convert.ToByte(tempByte | LandChannel.LAND_TYPE_OWNED_BY_REQUESTER);
} }
else if (currentParcelBlock.LandData.IsGroupOwned && remote_client.IsGroupMember(currentParcelBlock.LandData.GroupID))
{
tempByte = Convert.ToByte(tempByte | LandChannel.LAND_TYPE_OWNED_BY_GROUP);
}
else if (currentParcelBlock.LandData.SalePrice > 0 && else if (currentParcelBlock.LandData.SalePrice > 0 &&
(currentParcelBlock.LandData.AuthBuyerID == UUID.Zero || (currentParcelBlock.LandData.AuthBuyerID == UUID.Zero ||
currentParcelBlock.LandData.AuthBuyerID == remote_client.AgentId)) currentParcelBlock.LandData.AuthBuyerID == remote_client.AgentId))

View File

@ -2171,7 +2171,6 @@ namespace OpenSim.Region.Framework.Scenes
public void ScheduleGroupForTerseUpdate() public void ScheduleGroupForTerseUpdate()
{ {
lockPartsForRead(true); lockPartsForRead(true);
foreach (SceneObjectPart part in m_parts.Values) foreach (SceneObjectPart part in m_parts.Values)
{ {
part.ScheduleTerseUpdate(); part.ScheduleTerseUpdate();

View File

@ -804,6 +804,7 @@ namespace OpenSim.Region.Physics.OdePlugin
if (m_isphysical && Body != IntPtr.Zero) if (m_isphysical && Body != IntPtr.Zero)
{ {
d.BodyDisable(Body); d.BodyDisable(Body);
Halt();
} }
} }
@ -2973,6 +2974,7 @@ Console.WriteLine(" JointCreateFixed");
m_angularMotorDirection = Vector3.Zero; m_angularMotorDirection = Vector3.Zero;
m_lastAngularVelocity = Vector3.Zero; m_lastAngularVelocity = Vector3.Zero;
m_angularMotorDVel = Vector3.Zero; m_angularMotorDVel = Vector3.Zero;
_acceleration = Vector3.Zero;
} }
private void UpdateLinDecay() private void UpdateLinDecay()