소스 검색

* BugFix: Switch a few raw platform calls in reflectionProbe.cpp to the VFS.

Robert MacGregor 3 년 전
부모
커밋
0a45fac224
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      Engine/source/T3D/lighting/reflectionProbe.cpp

+ 4 - 4
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);
       }
    }