oops that went bad on linux, reverting

0.9.1.0-post-fixes
UbitUmarov 2019-01-30 00:58:41 +00:00
parent d86bb08c28
commit dd43e613f0
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ namespace OpenSim.Region.CoreModules.Scripting.VectorRender
// XXX: This lock may be unnecessary.
lock (m_graph)
{
stringSize = m_graph.MeasureString(text, myFont, text.Length, StringFormat.GenericTypographic);
stringSize = m_graph.MeasureString(text, myFont);
xSize = stringSize.Width;
ySize = stringSize.Height;
}