mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
* BugFix: Switch a few raw platform calls in reflectionProbe.cpp to the VFS.
This commit is contained in:
parent
1cd2b3ead9
commit
0a45fac224
1 changed files with 4 additions and 4 deletions
|
|
@ -327,15 +327,15 @@ void ReflectionProbe::handleDeleteAction()
|
||||||
if (mReflectionModeType != StaticCubemap)
|
if (mReflectionModeType != StaticCubemap)
|
||||||
{
|
{
|
||||||
String prefilPath = getPrefilterMapPath();
|
String prefilPath = getPrefilterMapPath();
|
||||||
if (Platform::isFile(prefilPath))
|
if (Torque::FS::IsFile(prefilPath))
|
||||||
{
|
{
|
||||||
Platform::fileDelete(prefilPath);
|
Torque::FS::Remove(prefilPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
String irrPath = getIrradianceMapPath();
|
String irrPath = getIrradianceMapPath();
|
||||||
if (Platform::isFile(irrPath))
|
if (Torque::FS::IsFile(irrPath))
|
||||||
{
|
{
|
||||||
Platform::fileDelete(irrPath);
|
Torque::FS::Remove(irrPath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue