add missing inclde +

This commit is contained in:
Kim Kulling
2020-05-02 21:11:47 +02:00
parent 4f902faddf
commit 3b06f57150
2 changed files with 10 additions and 3 deletions
+2 -1
View File
@@ -14,6 +14,7 @@ Licensed under a 3-clause BSD license. See the LICENSE file for more information
#include <assimp/IOStream.hpp>
#include <assimp/IOSystem.hpp>
#include <assimp/Importer.hpp>
#include <assimp/Exceptional.h>
#include <cassert>
#include <limits>
@@ -767,7 +768,7 @@ void Write(JSONWriter &out, const aiScene &ai) {
void ExportAssimp2Json(const char *file, Assimp::IOSystem *io, const aiScene *scene, const Assimp::ExportProperties *) {
std::unique_ptr<Assimp::IOStream> str(io->Open(file, "wt"));
if (!str) {
throw Assimp::DeadlyExportError("could not open output file");
throw DeadlyExportError("could not open output file");
}
// get a copy of the scene so we can modify it