This commit is contained in:
Otger
2015-12-02 21:06:22 +01:00
28 changed files with 1016 additions and 33 deletions

View File

@@ -703,7 +703,6 @@ SET( assimp_src
${Poly2Tri_SRCS}
${Clipper_SRCS}
${openddl_parser_SRCS}
${picojson_SRCS}
# Necessary to show the headers in the project when using the VC++ generator:
${Boost_SRCS}

View File

@@ -503,7 +503,8 @@ const aiScene* Importer::ReadFileFromMemory( const void* pBuffer,
SetIOHandler(new MemoryIOSystem((const uint8_t*)pBuffer,pLength));
// read the file and recover the previous IOSystem
char fbuff[128];
static const size_t BufferSize(Importer::MaxLenHint + 28);
char fbuff[ BufferSize ];
sprintf(fbuff,"%s.%s",AI_MEMORYIO_MAGIC_FILENAME,pHint);
ReadFile(fbuff,pFlags);