Files
opensim/OpenSim/Region/Examples/SimpleApp/FileSystemObject.cs
MW 653a4ff22d Deleted a few old files that are no longer used.
Deleted the GridInterfaces projects, and for now moved the old local asset server into Framework.Communications, as we prepare to rewrite the asset cache and asset server.
Deleted Framework.manager as I am sure this is no longer in use.
2007-08-27 15:34:21 +00:00

32 lines
849 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using OpenSim.Region.Environment.Scenes;
using libsecondlife;
using OpenSim.Framework.Types;
using System.Timers;
using System.Diagnostics;
using System.IO;
namespace SimpleApp
{
public class FileSystemObject : SceneObjectGroup
{
public FileSystemObject(Scene world, FileInfo fileInfo, LLVector3 pos)
: base(world, world.RegionInfo.RegionHandle, LLUUID.Zero, world.NextLocalId, pos, BoxShape.Default)
{
float size = (float)Math.Pow((double)fileInfo.Length, (double)1 / 3) / 5;
// rootPrimitive.ResizeGoup(new LLVector3(size, size, size));
Text = fileInfo.Name;
ScheduleGroupForFullUpdate();
}
public override void Update()
{
base.Update();
}
}
}