diff options
author | UbitUmarov | 2019-01-30 00:58:41 +0000 |
---|---|---|
committer | UbitUmarov | 2019-01-30 00:58:41 +0000 |
commit | dd43e613f0c4209d0f404176d847d4c2547eedcb (patch) | |
tree | a5d75b3efcaba887834e25675bbab5397b084331 /OpenSim | |
parent | change GetDrawStringSize so result better matchs rendering size (diff) | |
download | opensim-SC-dd43e613f0c4209d0f404176d847d4c2547eedcb.zip opensim-SC-dd43e613f0c4209d0f404176d847d4c2547eedcb.tar.gz opensim-SC-dd43e613f0c4209d0f404176d847d4c2547eedcb.tar.bz2 opensim-SC-dd43e613f0c4209d0f404176d847d4c2547eedcb.tar.xz |
oops that went bad on linux, reverting
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs b/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs index be2dd95..5a3f359 100644 --- a/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs +++ b/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs | |||
@@ -128,7 +128,7 @@ namespace OpenSim.Region.CoreModules.Scripting.VectorRender | |||
128 | // XXX: This lock may be unnecessary. | 128 | // XXX: This lock may be unnecessary. |
129 | lock (m_graph) | 129 | lock (m_graph) |
130 | { | 130 | { |
131 | stringSize = m_graph.MeasureString(text, myFont, text.Length, StringFormat.GenericTypographic); | 131 | stringSize = m_graph.MeasureString(text, myFont); |
132 | xSize = stringSize.Width; | 132 | xSize = stringSize.Width; |
133 | ySize = stringSize.Height; | 133 | ySize = stringSize.Height; |
134 | } | 134 | } |