aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Scripting
diff options
context:
space:
mode:
authorMelanie2012-08-14 02:34:03 +0100
committerMelanie2012-08-14 02:34:03 +0100
commit9b014a71679b6697954eb446be9f3d7c2e0a61b9 (patch)
treea454037938403aa76339b021dab93af98fab1bf2 /OpenSim/Region/CoreModules/Scripting
parentMerge branch 'avination' into ubitwork (diff)
parentMerge branch 'master' into careminster (diff)
downloadopensim-SC-9b014a71679b6697954eb446be9f3d7c2e0a61b9.zip
opensim-SC-9b014a71679b6697954eb446be9f3d7c2e0a61b9.tar.gz
opensim-SC-9b014a71679b6697954eb446be9f3d7c2e0a61b9.tar.bz2
opensim-SC-9b014a71679b6697954eb446be9f3d7c2e0a61b9.tar.xz
Merge branch 'careminster' into avination
Conflicts: OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs
Diffstat (limited to 'OpenSim/Region/CoreModules/Scripting')
-rw-r--r--OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs13
1 files changed, 9 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs b/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs
index ae4d52a..8b2f2f8 100644
--- a/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs
+++ b/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs
@@ -596,9 +596,14 @@ namespace OpenSim.Region.CoreModules.Scripting.VectorRender
596 } 596 }
597 break; 597 break;
598 case "R": 598 case "R":
599 Font anewFont = new Font(myFont, FontStyle.Regular); 599 // We need to place this newFont inside its own context so that the .NET compiler
600 myFont.Dispose(); 600 // doesn't complain about a redefinition of an existing newFont, even though there is none
601 myFont = anewFont; 601 // The mono compiler doesn't produce this error.
602 {
603 Font newFont = new Font(myFont, FontStyle.Regular);
604 myFont.Dispose();
605 myFont = newFont;
606 }
602 break; 607 break;
603 } 608 }
604 } 609 }
@@ -768,4 +773,4 @@ namespace OpenSim.Region.CoreModules.Scripting.VectorRender
768 return null; 773 return null;
769 } 774 }
770 } 775 }
771} \ No newline at end of file 776}