mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-24 00:53:47 +00:00
Merge pull request #584 from klaussilveira/master
Copy of PR #551 changed to target development.
This commit is contained in:
commit
382569ccb5
2 changed files with 3 additions and 5 deletions
|
|
@ -230,7 +230,7 @@ void GuiIconButtonCtrl::renderButton( Point2I &offset, const RectI& updateRect )
|
|||
bool highlight = mMouseOver;
|
||||
bool depressed = mDepressed;
|
||||
|
||||
ColorI fontColor = mActive ? (highlight ? mProfile->mFontColor : mProfile->mFontColor) : mProfile->mFontColorNA;
|
||||
ColorI fontColor = mActive ? (highlight ? mProfile->mFontColorHL : mProfile->mFontColor) : mProfile->mFontColorNA;
|
||||
|
||||
RectI boundsRect(offset, getExtent());
|
||||
|
||||
|
|
@ -436,4 +436,4 @@ DefineEngineMethod( GuiIconButtonCtrl, setBitmap, void, (const char* buttonFilen
|
|||
char* argBuffer = Con::getArgBuffer( 512 );
|
||||
Platform::makeFullPathName( buttonFilename, argBuffer, 512 );
|
||||
object->setBitmap( argBuffer );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -156,9 +156,7 @@ void SceneManager::renderScene( ScenePassType passType, U32 objectMask )
|
|||
{
|
||||
// Store the camera state so if we lock, this will become the
|
||||
// locked state.
|
||||
|
||||
if( passType == SPT_Diffuse )
|
||||
smLockedDiffuseCamera = cameraState;
|
||||
smLockedDiffuseCamera = cameraState;
|
||||
}
|
||||
|
||||
// Create the render state.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue