Added important comment missed from my previous commit (hash 8af2d99b).

httptests
Kevin Cozens 2018-04-27 22:03:54 -04:00
parent 16c72dce5d
commit bf175d1f01
1 changed files with 2 additions and 2 deletions

View File

@ -685,12 +685,12 @@ namespace OpenSim.Region.CoreModules.Scripting.VectorRender
case "S":
myFontStyle |= FontStyle.Strikeout;
break;
case "R":
case "R": //This special case resets all font properties
myFontStyle = FontStyle.Regular;
break;
}
}
if(myFontStyle != myFont.Style)
if (myFontStyle != myFont.Style)
{
Font newFont = new Font(myFont, myFontStyle);
myFont.Dispose();