From 0a45fac224db12eb09246ab10fe77a5b30683005 Mon Sep 17 00:00:00 2001 From: Robert MacGregor Date: Mon, 13 Jun 2022 12:02:58 -0400 Subject: [PATCH] * BugFix: Switch a few raw platform calls in reflectionProbe.cpp to the VFS. --- Engine/source/T3D/lighting/reflectionProbe.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Engine/source/T3D/lighting/reflectionProbe.cpp b/Engine/source/T3D/lighting/reflectionProbe.cpp index 1715ac758..bbb6cd90b 100644 --- a/Engine/source/T3D/lighting/reflectionProbe.cpp +++ b/Engine/source/T3D/lighting/reflectionProbe.cpp @@ -327,15 +327,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); } }