aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Scripting/VectorRender
diff options
context:
space:
mode:
authorUbitUmarov2019-01-30 00:58:41 +0000
committerUbitUmarov2019-01-30 00:58:41 +0000
commitdd43e613f0c4209d0f404176d847d4c2547eedcb (patch)
treea5d75b3efcaba887834e25675bbab5397b084331 /OpenSim/Region/CoreModules/Scripting/VectorRender
parentchange GetDrawStringSize so result better matchs rendering size (diff)
downloadopensim-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/Region/CoreModules/Scripting/VectorRender')
-rw-r--r--OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs2
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 }