aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
authorKevin Cozens2018-04-27 22:03:54 -0400
committerKevin Cozens2018-04-27 22:03:54 -0400
commitbf175d1f0198509cebd46be51360ef372f9c85ff (patch)
tree236a50a260f6ee3c404feb4cd5822410cdb8aff5 /OpenSim/Region/CoreModules
parentWhitespace change. (diff)
downloadopensim-SC-bf175d1f0198509cebd46be51360ef372f9c85ff.zip
opensim-SC-bf175d1f0198509cebd46be51360ef372f9c85ff.tar.gz
opensim-SC-bf175d1f0198509cebd46be51360ef372f9c85ff.tar.bz2
opensim-SC-bf175d1f0198509cebd46be51360ef372f9c85ff.tar.xz
Added important comment missed from my previous commit (hash 8af2d99b).
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs b/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs
index 188c639..a012093 100644
--- a/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs
+++ b/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs
@@ -685,12 +685,12 @@ namespace OpenSim.Region.CoreModules.Scripting.VectorRender
685 case "S": 685 case "S":
686 myFontStyle |= FontStyle.Strikeout; 686 myFontStyle |= FontStyle.Strikeout;
687 break; 687 break;
688 case "R": 688 case "R": //This special case resets all font properties
689 myFontStyle = FontStyle.Regular; 689 myFontStyle = FontStyle.Regular;
690 break; 690 break;
691 } 691 }
692 } 692 }
693 if(myFontStyle != myFont.Style) 693 if (myFontStyle != myFont.Style)
694 { 694 {
695 Font newFont = new Font(myFont, myFontStyle); 695 Font newFont = new Font(myFont, myFontStyle);
696 myFont.Dispose(); 696 myFont.Dispose();