mirror of
https://github.com/opensim/opensim.git
synced 2026-06-29 02:25:39 +08:00
* This is the fabled LibOMV update with all of the libOMV types from JHurliman
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using libsecondlife;
|
||||
using OpenMetaverse;
|
||||
using OpenSim.Framework;
|
||||
using OpenSim.Region.Environment.Scenes;
|
||||
|
||||
@@ -45,7 +45,7 @@ namespace OpenSim.Region.Examples.SimpleModule
|
||||
|
||||
private PerformanceCounter m_counter;
|
||||
|
||||
public CpuCounterObject(Scene world, ulong regionHandle, LLUUID ownerID, uint localID, LLVector3 pos)
|
||||
public CpuCounterObject(Scene world, ulong regionHandle, UUID ownerID, uint localID, Vector3 pos)
|
||||
: base(world, regionHandle, ownerID, localID, pos, PrimitiveBaseShape.Default)
|
||||
{
|
||||
String objectName = "Processor";
|
||||
@@ -58,7 +58,7 @@ namespace OpenSim.Region.Examples.SimpleModule
|
||||
public override void UpdateMovement()
|
||||
{
|
||||
float cpu = m_counter.NextValue()/40f;
|
||||
LLVector3 size = new LLVector3(cpu, cpu, cpu);
|
||||
Vector3 size = new Vector3(cpu, cpu, cpu);
|
||||
|
||||
RootPart.Resize(size);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user