Merge pull request #713 from Ragora/feature-vfs-security

Feature: VFS Security
This commit is contained in:
Brian Roberts 2022-06-16 21:23:49 -05:00 committed by GitHub
commit b753c9d91c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 425 additions and 126 deletions

View file

@ -330,15 +330,15 @@ void ReflectionProbe::handleDeleteAction()
if (mReflectionModeType != StaticCubemap)
{
String prefilPath = getPrefilterMapPath();
if (Platform::isFile(prefilPath))
if (Torque::FS::IsFile(prefilPath))
{
Platform::fileDelete(prefilPath);
Torque::FS::Remove(prefilPath);
}
String irrPath = getIrradianceMapPath();
if (Platform::isFile(irrPath))
if (Torque::FS::IsFile(irrPath))
{
Platform::fileDelete(irrPath);
Torque::FS::Remove(irrPath);
}
}