@@ -528,7 +528,8 @@ void GuiMLTextCtrl::inspectPostApply()
setText(mInitialText, dStrlen(mInitialText));
- mLineSpacingPixels = 0;
+ if (mLineSpacingPixels < 0)
+ mLineSpacingPixels = 0;
}
@@ -253,7 +253,7 @@ class GuiMLTextCtrl : public GuiControl
Resource<GFont> mFont;
// Console settable parameters
- U32 mLineSpacingPixels;
+ S32 mLineSpacingPixels;
bool mAllowColorChars;
bool mUseURLMouseCursor;
@@ -306,6 +306,7 @@ void RenderTranslucentMgr::render( SceneRenderState *state )
if (passRI->accuTex != lastAccuTex)
{
sgData.accuTex = passRI->accuTex;
+ lastAccuTex = passRI->accuTex;
dirty = true;