Files
assimp/code/AssetLib
Krishty 5cbc00a595 Fix Build With M3D Import Only
`M3DWrapper.h` is designed to omit the definition of `class M3DWrapper` if neither M3D import nor M3D export are compiled.
608bccd9cf touched the corresponding preprocessor checks and introduced a bug:
```
#ifndef ASSIMP_BUILD_NO_M3D_IMPORTER
#if !(ASSIMP_BUILD_NO_EXPORT || ASSIMP_BUILD_NO_M3D_EXPORTER)
class M3DWrapper {
```
When compiling
- with M3D import enabled,
- but with either export generally disabled or M3D export disabled specifically,
These checks evaluate to the wrong result and skip the definition, leading to a build failure in dependent code.
```
#if 1 // import enabled
#if !(1 || 1) // export disabled and M3D export disabled
```
This commit fixes the check to compile the definition if neither import is disabled.
2023-01-16 08:29:49 +01:00
..
2022-11-03 12:46:40 -04:00
2022-12-05 13:15:42 +01:00
2022-01-18 22:21:58 +01:00
2023-01-15 19:12:24 +01:00
2022-11-08 11:30:53 -05:00
2022-11-08 11:19:12 -05:00
2023-01-04 09:19:37 +01:00
2023-01-16 08:29:49 +01:00
2022-12-15 14:06:57 +01:00
2022-12-02 09:24:51 +01:00
2022-09-02 11:20:02 -04:00
2022-08-25 11:32:59 -04:00
2022-12-16 09:03:40 +01:00
2022-09-02 11:20:02 -04:00
2022-01-10 21:13:43 +01:00