mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
* Started renaming world to Scene
* Update and UpdateMovement now first stores array to avoid collection update exceptions * Ignored some bins
This commit is contained in:
@@ -23,13 +23,13 @@ namespace SimpleApp
|
||||
m_counter = new PerformanceCounter(objectName, counterName, instanceName);
|
||||
}
|
||||
|
||||
public override void Update( )
|
||||
public override void UpdateMovement( )
|
||||
{
|
||||
float cpu = m_counter.NextValue() / 40f;
|
||||
LLVector3 size = new LLVector3(cpu, cpu, cpu);
|
||||
rootPrimitive.ResizeGoup( size );
|
||||
|
||||
base.Update();
|
||||
base.UpdateMovement();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user