* Again, FileSystemObject reports filename.

* SimpleApp now featuring spinning box with spinning parts.
* Damn. That's cool.
afrisby
lbsa71 2007-08-15 17:15:41 +00:00
parent c47bca94d2
commit 2fe9b8139c
4 changed files with 17 additions and 7 deletions

View File

@ -858,5 +858,11 @@ namespace OpenSim.Region.Environment.Scenes
} }
return null; return null;
} }
public void UpdateText( string text )
{
m_rootPart.Text = text;
m_rootPart.ScheduleTerseUpdate();
}
} }
} }

View File

@ -279,6 +279,7 @@ namespace OpenSim.Region.Environment.Scenes
public void SetParent(SceneObjectGroup parent) public void SetParent(SceneObjectGroup parent)
{ {
m_parentGroup = parent; m_parentGroup = parent;
} }
#region Copying #region Copying

View File

@ -41,6 +41,8 @@ namespace SimpleApp
AddPart(new RotatingWheel(regionHandle, this, ownerID, scene.PrimIDAllocate(), pos, new LLVector3(0, 0, 1f))); AddPart(new RotatingWheel(regionHandle, this, ownerID, scene.PrimIDAllocate(), pos, new LLVector3(0, 0, 1f)));
AddPart(new RotatingWheel(regionHandle, this, ownerID, scene.PrimIDAllocate(), pos, new LLVector3(0, 0, -1f))); AddPart(new RotatingWheel(regionHandle, this, ownerID, scene.PrimIDAllocate(), pos, new LLVector3(0, 0, -1f)));
UpdateParentIDs();
} }
} }
} }

View File

@ -20,7 +20,8 @@ namespace SimpleApp
float size = (float)Math.Pow((double)fileInfo.Length, (double)1 / 3) / 5; float size = (float)Math.Pow((double)fileInfo.Length, (double)1 / 3) / 5;
// rootPrimitive.ResizeGoup(new LLVector3(size, size, size)); // rootPrimitive.ResizeGoup(new LLVector3(size, size, size));
// rootPrimitive.Text = fileInfo.Name; Text = fileInfo.Name;
ScheduleGroupForFullUpdate();
} }
public override void Update() public override void Update()