Added important comment missed from my previous commit (hash 8af2d99b
).
parent
16c72dce5d
commit
bf175d1f01
|
@ -685,12 +685,12 @@ namespace OpenSim.Region.CoreModules.Scripting.VectorRender
|
||||||
case "S":
|
case "S":
|
||||||
myFontStyle |= FontStyle.Strikeout;
|
myFontStyle |= FontStyle.Strikeout;
|
||||||
break;
|
break;
|
||||||
case "R":
|
case "R": //This special case resets all font properties
|
||||||
myFontStyle = FontStyle.Regular;
|
myFontStyle = FontStyle.Regular;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(myFontStyle != myFont.Style)
|
if (myFontStyle != myFont.Style)
|
||||||
{
|
{
|
||||||
Font newFont = new Font(myFont, myFontStyle);
|
Font newFont = new Font(myFont, myFontStyle);
|
||||||
myFont.Dispose();
|
myFont.Dispose();
|
||||||
|
|
Loading…
Reference in New Issue