mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-09 15:30:41 +00:00
uninitialized and unused value cleanups
(cherry picked from commit 1f08602cf0ad84409cd8b3520510f9c6ce7d5f9c)
This commit is contained in:
parent
1230d0d280
commit
0d4221fa59
38 changed files with 176 additions and 360 deletions
|
|
@ -224,8 +224,7 @@ void TSLastDetail::update( bool forceUpdate )
|
|||
// Do we need to update the imposter?
|
||||
const String diffuseMapPath = _getDiffuseMapPath();
|
||||
bool isFile = Platform::isFile(diffuseMapPath.c_str());
|
||||
if ( forceUpdate || !Platform::isFile(diffuseMapPath.c_str()) ||
|
||||
Platform::compareModifiedTimes( diffuseMapPath, shapeFile ) <= 0 )
|
||||
if ( forceUpdate || !isFile || Platform::compareModifiedTimes( diffuseMapPath, shapeFile ) <= 0 )
|
||||
_update();
|
||||
|
||||
// If the time check fails now then the update must have not worked.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue