Merge branch 'careminster' into careminster-presence-refactor
commit
ba31b31ed0
|
@ -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,
|
||||||
|
|
|
@ -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))
|
||||||
|
|
|
@ -2116,7 +2116,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
public bool AddNewSceneObject(SceneObjectGroup sceneObject, bool attachToBackup, bool sendClientUpdates)
|
public bool AddNewSceneObject(SceneObjectGroup sceneObject, bool attachToBackup, bool sendClientUpdates)
|
||||||
{
|
{
|
||||||
return m_sceneGraph.AddNewSceneObject(sceneObject, attachToBackup, sendClientUpdates);
|
return m_sceneGraph.AddNewSceneObject(sceneObject, attachToBackup, sendClientUpdates);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Delete every object from the scene
|
/// Delete every object from the scene
|
||||||
|
|
|
@ -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();
|
||||||
|
@ -2184,11 +2183,11 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
/// Immediately send a full update for this scene object.
|
/// Immediately send a full update for this scene object.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void SendGroupFullUpdate()
|
public void SendGroupFullUpdate()
|
||||||
{
|
{
|
||||||
if (IsDeleted)
|
if (IsDeleted)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// m_log.DebugFormat("[SOG]: Sending immediate full group update for {0} {1}", Name, UUID);
|
// m_log.DebugFormat("[SOG]: Sending immediate full group update for {0} {1}", Name, UUID);
|
||||||
|
|
||||||
RootPart.SendFullUpdateToAllClients();
|
RootPart.SendFullUpdateToAllClients();
|
||||||
|
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2972,7 +2973,8 @@ Console.WriteLine(" JointCreateFixed");
|
||||||
m_wLinObjectVel = Vector3.Zero;
|
m_wLinObjectVel = Vector3.Zero;
|
||||||
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()
|
||||||
|
|
Loading…
Reference in New Issue