Removed abstract SetText method from EntityBase to make cleaner API.
Signed-off-by: Melanie <melanie@t-data.com>prebuild-update
parent
75f92faeb4
commit
3f942a4f74
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue