Merge branch 'master' into fix_stl_for_over_4GB
commit
6ad8ea395a
2
Build.md
2
Build.md
|
@ -14,7 +14,7 @@ The assimp port in vcpkg is kept up to date by Microsoft team members and commun
|
||||||
## Install on Ubuntu
|
## Install on Ubuntu
|
||||||
You can install the Asset-Importer-Lib via apt:
|
You can install the Asset-Importer-Lib via apt:
|
||||||
```
|
```
|
||||||
sudp apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install libassimp-dev
|
sudo apt-get install libassimp-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -186,6 +186,9 @@ D3MFOpcPackage::D3MFOpcPackage(IOSystem *pIOHandler, const std::string &rFile) :
|
||||||
D3MFOpcPackage::~D3MFOpcPackage() {
|
D3MFOpcPackage::~D3MFOpcPackage() {
|
||||||
mZipArchive->Close(mRootStream);
|
mZipArchive->Close(mRootStream);
|
||||||
delete mZipArchive;
|
delete mZipArchive;
|
||||||
|
for (auto tex : mEmbeddedTextures) {
|
||||||
|
delete tex;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
IOStream *D3MFOpcPackage::RootStream() const {
|
IOStream *D3MFOpcPackage::RootStream() const {
|
||||||
|
|
|
@ -196,7 +196,9 @@ zlib_filefunc_def IOSystem2Unzip::get(IOSystem *pIOHandler) {
|
||||||
zlib_filefunc_def mapping;
|
zlib_filefunc_def mapping;
|
||||||
|
|
||||||
mapping.zopen_file = (open_file_func)open;
|
mapping.zopen_file = (open_file_func)open;
|
||||||
|
#ifdef _UNZ_H
|
||||||
mapping.zopendisk_file = (opendisk_file_func)opendisk;
|
mapping.zopendisk_file = (opendisk_file_func)opendisk;
|
||||||
|
#endif
|
||||||
mapping.zread_file = (read_file_func)read;
|
mapping.zread_file = (read_file_func)read;
|
||||||
mapping.zwrite_file = (write_file_func)write;
|
mapping.zwrite_file = (write_file_func)write;
|
||||||
mapping.ztell_file = (tell_file_func)tell;
|
mapping.ztell_file = (tell_file_func)tell;
|
||||||
|
|
Loading…
Reference in New Issue