Browse Source

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 years ago
parent
commit
f05c65000d
1 changed files with 4 additions and 1 deletions
  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