mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
Removed abstract SetText method from EntityBase to make cleaner API.
Signed-off-by: Melanie <melanie@t-data.com>
This commit is contained in:
@@ -130,8 +130,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
{
|
||||
return (EntityBase) MemberwiseClone();
|
||||
}
|
||||
|
||||
public abstract void SetText(string text, Vector3 color, double alpha);
|
||||
}
|
||||
|
||||
//Nested Classes
|
||||
|
||||
@@ -1360,7 +1360,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
ScheduleGroupForFullUpdate();
|
||||
}
|
||||
|
||||
public override void SetText(string text, Vector3 color, double alpha)
|
||||
public void SetText(string text, Vector3 color, double alpha)
|
||||
{
|
||||
Color = Color.FromArgb(0xff - (int) (alpha * 0xff),
|
||||
(int) (color.X * 0xff),
|
||||
|
||||
@@ -3212,11 +3212,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
}
|
||||
}
|
||||
|
||||
public override void SetText(string text, Vector3 color, double alpha)
|
||||
{
|
||||
throw new Exception("Can't set Text on avatar.");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Adds a physical representation of the avatar to the Physics plugin
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user