oops that went bad on linux, reverting
parent
d86bb08c28
commit
dd43e613f0
|
@ -128,7 +128,7 @@ namespace OpenSim.Region.CoreModules.Scripting.VectorRender
|
||||||
// XXX: This lock may be unnecessary.
|
// XXX: This lock may be unnecessary.
|
||||||
lock (m_graph)
|
lock (m_graph)
|
||||||
{
|
{
|
||||||
stringSize = m_graph.MeasureString(text, myFont, text.Length, StringFormat.GenericTypographic);
|
stringSize = m_graph.MeasureString(text, myFont);
|
||||||
xSize = stringSize.Width;
|
xSize = stringSize.Width;
|
||||||
ySize = stringSize.Height;
|
ySize = stringSize.Height;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue