mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-13 01:10:45 +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));
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue