Просмотр исходного кода

jpg, tga and png were being included during the build process. We don't want that since the build should only be using the DDS files. This check got lost during the implementation of this configuration.

Eugene 9 лет назад
Родитель
Сommit
f05c65000d
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      Source/ToolCore/Build/BuildBase.cpp

+ 4 - 1
Source/ToolCore/Build/BuildBase.cpp

@@ -545,9 +545,12 @@ void BuildBase::AddToResourcePackager(const String& filename, const String& reso
 
     // Add the file to the resourceEntries_ list
     // TODO: Add additional filters
-    if (GetExtension(filename) == ".psd")
+    if (CheckIncludeResourceFile(resourceDir, filename))
         return;
 
+    //if (GetExtension(filename) == ".psd")
+    //    return;
+
     BuildResourceEntry* newEntry = new BuildResourceEntry;
 
     // BEGIN LICENSE MANAGEMENT