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
..
3DS Manually fix up 100 more instances where it should be defaulted 2022-08-25 12:20:13 -04:00
3MF Remove redundant ctor 2022-11-03 12:46:40 -04:00
AC Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
AMF Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
ASE Fix:Add missing semicolon. 2022-12-05 13:15:42 +01:00
Assbin add missing light data to assbin import/export 2022-09-05 16:09:24 +02:00
Assjson Fix: Add missing ahndling for double export in json 2022-10-18 19:05:04 +02:00
Assxml Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
B3D Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
BVH Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
Blender Merge branch 'master' into explspec 2022-11-30 14:03:09 +01:00
C4D C4D. Fix merge conflicts 2022-01-18 22:21:58 +01:00
COB Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
CSM Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
Collada Fix several spelling mistakes & a comment 2023-01-01 13:31:48 -05:00
DXF Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
FBX Remove deprecated comment 2023-01-15 19:12:24 +01:00
HMP Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
IFC Use make_shared in IFCBoolean 2022-11-08 11:30:53 -05:00
IQM Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
Irr Fix some indentation 2022-11-08 11:19:12 -05:00
LWO Fix: Fix possible division by zero 2023-01-04 09:19:37 +01:00
LWS Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
M3D Fix Build With M3D Import Only 2023-01-16 08:29:49 +01:00
MD2 Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
MD3 Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
MD4 Move format importer and exporter into its won folder. 2020-05-02 15:14:38 +02:00
MD5 Update MD5Parser.cpp 2022-12-15 14:06:57 +01:00
MDC Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
MDL FIX: Fix possible division by zero 2022-12-02 09:24:51 +01:00
MMD Apply some more modernize-use-emplace 2022-09-02 11:20:02 -04:00
MS3D Explicitly default all empty dtors 2022-08-25 11:32:59 -04:00
NDO Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
NFF Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
OFF Fixes Heap-buffer-overflow READ 4 in Assimp::ScenePreprocessor::ProcessMesh 2022-12-10 01:22:00 +00:00
Obj Fix minor review findings. 2022-12-16 09:03:40 +01:00
Ogre Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
OpenGEX Manually fix up 100 more instances where it should be defaulted 2022-08-25 12:20:13 -04:00
Ply Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
Q3BSP Apply modernize-use-emplace clang-tidy rule 2022-08-23 11:41:49 -04:00
Q3D Apply some more modernize-use-emplace 2022-09-02 11:20:02 -04:00
Raw Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
SIB Manually fix up 100 more instances where it should be defaulted 2022-08-25 12:20:13 -04:00
SMD Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
STEPParser Update copyrights 2022-01-10 21:13:43 +01:00
STL Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
Step Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
Terragen Manually fix up 100 more instances where it should be defaulted 2022-08-25 12:20:13 -04:00
Unreal Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
X Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
X3D Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
XGL Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
glTF Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
glTF2 Merge branch 'master' into modernize-smartptrs-literals 2022-11-29 09:58:17 +01:00