diff options
Diffstat (limited to 'OpenSim/Region/Examples/SimpleApp')
-rw-r--r-- | OpenSim/Region/Examples/SimpleApp/CpuCounterObject.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Examples/SimpleApp/CpuCounterObject.cs b/OpenSim/Region/Examples/SimpleApp/CpuCounterObject.cs index e6505b4..404653d 100644 --- a/OpenSim/Region/Examples/SimpleApp/CpuCounterObject.cs +++ b/OpenSim/Region/Examples/SimpleApp/CpuCounterObject.cs | |||
@@ -23,13 +23,13 @@ namespace SimpleApp | |||
23 | m_counter = new PerformanceCounter(objectName, counterName, instanceName); | 23 | m_counter = new PerformanceCounter(objectName, counterName, instanceName); |
24 | } | 24 | } |
25 | 25 | ||
26 | public override void Update( ) | 26 | public override void UpdateMovement( ) |
27 | { | 27 | { |
28 | float cpu = m_counter.NextValue() / 40f; | 28 | float cpu = m_counter.NextValue() / 40f; |
29 | LLVector3 size = new LLVector3(cpu, cpu, cpu); | 29 | LLVector3 size = new LLVector3(cpu, cpu, cpu); |
30 | rootPrimitive.ResizeGoup( size ); | 30 | rootPrimitive.ResizeGoup( size ); |
31 | 31 | ||
32 | base.Update(); | 32 | base.UpdateMovement(); |
33 | } | 33 | } |
34 | } | 34 | } |
35 | } | 35 | } |