mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 09:04:38 +00:00
Fixes 2 minor mistake corrections
This commit is contained in:
parent
8956559bfd
commit
350d3e6702
3 changed files with 4 additions and 2 deletions
|
|
@ -528,7 +528,8 @@ void GuiMLTextCtrl::inspectPostApply()
|
||||||
|
|
||||||
setText(mInitialText, dStrlen(mInitialText));
|
setText(mInitialText, dStrlen(mInitialText));
|
||||||
|
|
||||||
mLineSpacingPixels = 0;
|
if (mLineSpacingPixels < 0)
|
||||||
|
mLineSpacingPixels = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -253,7 +253,7 @@ class GuiMLTextCtrl : public GuiControl
|
||||||
Resource<GFont> mFont;
|
Resource<GFont> mFont;
|
||||||
|
|
||||||
// Console settable parameters
|
// Console settable parameters
|
||||||
U32 mLineSpacingPixels;
|
S32 mLineSpacingPixels;
|
||||||
bool mAllowColorChars;
|
bool mAllowColorChars;
|
||||||
bool mUseURLMouseCursor;
|
bool mUseURLMouseCursor;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -306,6 +306,7 @@ void RenderTranslucentMgr::render( SceneRenderState *state )
|
||||||
if (passRI->accuTex != lastAccuTex)
|
if (passRI->accuTex != lastAccuTex)
|
||||||
{
|
{
|
||||||
sgData.accuTex = passRI->accuTex;
|
sgData.accuTex = passRI->accuTex;
|
||||||
|
lastAccuTex = passRI->accuTex;
|
||||||
dirty = true;
|
dirty = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue