mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 10:15:33 +08:00
cosmetics
This commit is contained in:
@@ -113,8 +113,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
set { m_velocity = value; }
|
||||
}
|
||||
|
||||
protected Vector3 m_rotationalvelocity;
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new Entity (should not occur on it's own)
|
||||
/// </summary>
|
||||
|
||||
@@ -450,18 +450,20 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
private bool disposed = false;
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
private bool disposed = false;
|
||||
protected void Dispose(bool disposing)
|
||||
{
|
||||
// Check to see if Dispose has already been called.
|
||||
if (!disposed)
|
||||
{
|
||||
disposed = true;
|
||||
IsDeleted = true;
|
||||
|
||||
if (KeyframeMotion != null)
|
||||
{
|
||||
KeyframeMotion.Delete();
|
||||
@@ -475,7 +477,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
m_inventory.Dispose();
|
||||
m_inventory = null;
|
||||
}
|
||||
disposed = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user