Explorar el Código

Removed dead code.

Marc-Antoine Lortie hace 6 años
padre
commit
7e957768db
Se han modificado 1 ficheros con 0 adiciones y 12 borrados
  1. 0 12
      test/unit/ImportExport/MDL/utMDLImporter_HL1_ImportSettings.cpp

+ 0 - 12
test/unit/ImportExport/MDL/utMDLImporter_HL1_ImportSettings.cpp

@@ -198,18 +198,6 @@ private:
         func(scene);
     }
 
-    void load_with_import_setting_string(
-        const char *file_path,
-        const char *setting_key,
-        const char *setting_value,
-        std::function<void(const aiScene *)> &&func) {
-        Assimp::Importer importer;
-        importer.SetPropertyString(setting_key, setting_value);
-        const aiScene *scene = importer.ReadFile(file_path, aiProcess_ValidateDataStructure);
-        EXPECT_NE(nullptr, scene);
-        func(scene);
-    }
-
     inline static aiNode *get_global_info(const aiScene *scene) {
         return scene->mRootNode->FindNode(AI_MDL_HL1_NODE_GLOBAL_INFO);
     }