Merge branch 'master' into fix_stl_for_over_4GB

pull/4630/head
Kim Kulling 2022-07-09 09:58:10 +02:00 committed by GitHub
commit 6ad8ea395a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 1 deletions

View File

@ -14,7 +14,7 @@ The assimp port in vcpkg is kept up to date by Microsoft team members and commun
## Install on Ubuntu
You can install the Asset-Importer-Lib via apt:
```
sudp apt-get update
sudo apt-get update
sudo apt-get install libassimp-dev
```

View File

@ -186,6 +186,9 @@ D3MFOpcPackage::D3MFOpcPackage(IOSystem *pIOHandler, const std::string &rFile) :
D3MFOpcPackage::~D3MFOpcPackage() {
mZipArchive->Close(mRootStream);
delete mZipArchive;
for (auto tex : mEmbeddedTextures) {
delete tex;
}
}
IOStream *D3MFOpcPackage::RootStream() const {

View File

@ -196,7 +196,9 @@ zlib_filefunc_def IOSystem2Unzip::get(IOSystem *pIOHandler) {
zlib_filefunc_def mapping;
mapping.zopen_file = (open_file_func)open;
#ifdef _UNZ_H
mapping.zopendisk_file = (opendisk_file_func)opendisk;
#endif
mapping.zread_file = (read_file_func)read;
mapping.zwrite_file = (write_file_func)write;
mapping.ztell_file = (tell_file_func)tell;