summaryrefslogtreecommitdiffstats
path: root/code/AssetLib/MDL/MDLFileData.h
diff options
context:
space:
mode:
Diffstat (limited to 'code/AssetLib/MDL/MDLFileData.h')
-rw-r--r--code/AssetLib/MDL/MDLFileData.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/code/AssetLib/MDL/MDLFileData.h b/code/AssetLib/MDL/MDLFileData.h
index 2aff59856..83356935c 100644
--- a/code/AssetLib/MDL/MDLFileData.h
+++ b/code/AssetLib/MDL/MDLFileData.h
@@ -2,8 +2,7 @@
Open Asset Import Library (assimp)
----------------------------------------------------------------------
-Copyright (c) 2006-2024, assimp team
-
+Copyright (c) 2006-2025, assimp team
All rights reserved.
@@ -63,8 +62,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
struct aiMaterial;
-namespace Assimp {
-namespace MDL {
+namespace Assimp {
+namespace MDL {
// -------------------------------------------------------------------------------------
// to make it easier for us, we test the magic word against both "endiannesses"
@@ -603,7 +602,7 @@ struct Vertex_MDL7
union {
uint8_t norm162index;
float norm[3];
- };
+ } PACK_STRUCT;
} PACK_STRUCT;
// -------------------------------------------------------------------------------------
@@ -876,7 +875,7 @@ struct IntSharedData_MDL7 {
: apcOutBones(),
iNum()
{
- abNeedMaterials.reserve(10);
+ abNeedMaterials.reserve(12);
}
//! Destruction: properly delete all allocated resources