Removed dead code.

pull/2838/head
Marc-Antoine Lortie 2019-12-25 08:13:20 -05:00
parent 1e29329a84
commit 7e957768db
1 changed files with 0 additions and 12 deletions

View File

@ -198,18 +198,6 @@ private:
func(scene); 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) { inline static aiNode *get_global_info(const aiScene *scene) {
return scene->mRootNode->FindNode(AI_MDL_HL1_NODE_GLOBAL_INFO); return scene->mRootNode->FindNode(AI_MDL_HL1_NODE_GLOBAL_INFO);
} }