Needs testing.
1. Fixed Update Lock (should now compile) 2. Added support for rescaling a primitive without it jerking to the side.0.1-prestable
parent
6103e06a34
commit
2194b74473
|
@ -735,8 +735,9 @@ namespace OpenSim
|
||||||
{
|
{
|
||||||
NeedAck.Add(Pack.Header.Sequence, Pack);
|
NeedAck.Add(Pack.Header.Sequence, Pack);
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e) // HACKY
|
||||||
{
|
{
|
||||||
|
e.ToString();
|
||||||
// Ignore
|
// Ignore
|
||||||
// Seems to throw a exception here occasionally
|
// Seems to throw a exception here occasionally
|
||||||
// of 'duplicate key' despite being locked.
|
// of 'duplicate key' despite being locked.
|
||||||
|
|
|
@ -52,7 +52,14 @@ namespace OpenSim.world
|
||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
|
LLVector3 offset = (value - primData.Scale);
|
||||||
|
offset.X /= 2;
|
||||||
|
offset.Y /= 2;
|
||||||
|
offset.Z /= 2;
|
||||||
|
|
||||||
|
this.primData.Position += offset;
|
||||||
this.primData.Scale = value;
|
this.primData.Scale = value;
|
||||||
|
|
||||||
this.dirtyFlag = true;
|
this.dirtyFlag = true;
|
||||||
}
|
}
|
||||||
get
|
get
|
||||||
|
|
|
@ -41,7 +41,7 @@ namespace OpenSim.world
|
||||||
private string m_regionName;
|
private string m_regionName;
|
||||||
private InventoryCache _inventoryCache;
|
private InventoryCache _inventoryCache;
|
||||||
private AssetCache _assetCache;
|
private AssetCache _assetCache;
|
||||||
private int updateLock;
|
private Object updateLock;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Creates a new World class, and a region to go with it.
|
/// Creates a new World class, and a region to go with it.
|
||||||
|
@ -53,7 +53,7 @@ namespace OpenSim.world
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
updateLock = 0;
|
updateLock = null;
|
||||||
m_clientThreads = clientThreads;
|
m_clientThreads = clientThreads;
|
||||||
m_regionHandle = regionHandle;
|
m_regionHandle = regionHandle;
|
||||||
m_regionName = regionName;
|
m_regionName = regionName;
|
||||||
|
|
Loading…
Reference in New Issue