* Again, FileSystemObject reports filename.
* SimpleApp now featuring spinning box with spinning parts. * Damn. That's cool.afrisby
parent
c47bca94d2
commit
2fe9b8139c
|
@ -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();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue