Orleonn
ab28db52f0
Added missing scene extras properties for glTF2Importer ( #6397 )
2025-11-18 15:58:41 +01:00
Kim Kulling
c4812fcc47
Update LineSplitter.h ( #6396 )
2025-11-17 08:56:49 +01:00
Kim Kulling
19108dff6a
Fix linkage ( #6388 )
...
* Fix linkage when all importers aren't part of the build.
2025-11-16 20:05:50 +01:00
Kim Kulling
05a4fb57f1
Reorganize code top prevent security warning. ( #6395 )
...
* Reorganize code to prevent security warning.
2025-11-15 12:16:56 +01:00
John Curley
a53807a02a
Added static cast for conversion from uLong to unsigned int for compiler error ( #6393 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com >
2025-11-15 08:53:24 +01:00
Kim Kulling
1cc7f2ba74
Fix the doxygen documentation from public headers ( #6394 )
...
* Add documentation comments to DeboneProcess.h
2025-11-14 22:05:08 +01:00
Kim Kulling
e98ec7b2d3
Refactor string checks and variable declarations ( #6392 )
...
* Refactor string checks and variable declarations
* Change string check from contains to find
* Fix syntax error in mesh node creation loop
2025-11-14 00:18:35 +01:00
Jerome St-Louis
0be7cdd6db
glTF2: Avoid lookups for generating IDs ( #6120 )
...
* glTF2: Reduce lookups for generating IDs
- closes https://github.com/assimp/assimp/issues/5661
2025-11-13 10:50:26 +01:00
thedestroyer4312
c6f997b584
[PyAssimp] Create pyproject.toml ( #6378 )
...
* Create pyproject.toml
2025-11-11 09:31:51 +01:00
Kim Kulling
3e2e3c9b12
Update contact email for reporting vulnerabilities ( #6389 )
2025-11-11 08:52:23 +01:00
Kim Kulling
34cda45471
Fix sonarcube stuff ( #6387 )
...
* Fix sonarcube stuff
2025-11-10 23:29:03 +01:00
Kim Kulling
a4b8943533
Refactor condition checks for empty vectors ( #6385 )
...
* Refactor based on SonarCube.
2025-11-07 16:07:39 +01:00
Jan Honsbrok
0996221017
fix: write textures to folder of PBRT file ( #6099 )
...
* fix: write textures to folder of PBRT file
2025-11-05 08:24:41 +01:00
Luca Della Vedova
672594c230
Revert "Refactoring: use using types ( #6266 )" ( #6324 )
...
* Revert "Refactoring: use using types (#6266 )"
2025-11-04 15:10:45 +01:00
Jan Grulich
0978918f71
Fix Heap-buffer-overflow in Q3DImporter::InternReadFile ( #6370 )
...
Checks if multiplying texture width and height would overflow before
performing the operation. This avoids incorrect memory allocations and
potential crashes with very large textures.
Fixes #6358
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com >
2025-11-04 10:09:13 +01:00
sSsA01
8e35cb1a9f
Fix out-of-range access cause of aiProcess_GenNormals : array size inconsistency of members of mesh after process ( #6332 )
...
* Fix aiProcess_GenNormals process: copy members of mesh corresponding with additional vertices
* Fix aiProcess_GenNormals process: Refoctoring
* refactoring: fix SonarQube Issue
* Update GenFaceNormalsProcess.cpp: fix small findings
---------
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com >
2025-11-01 21:15:17 +01:00
AR
ea249be466
Made the README more tidy & fix Build.md ( #6371 )
...
* Update LICENSE
* Update Preamble.txt
* Update SECURITY.md
* Remove GitHub's default comment
* Better README!
* Fix discord link! Boom, that's how it's done
* Fixed itch.io spelling from itchi.io
* Make README more tidy :)
AR is back! Anyways, I'm working on my horror game & making devlogs so I don't have time to write. Here's a small summary:
- Just placed the dir structure information correctly in one place so the README looks tidy.
* Add international download link for Visual Studio
2025-10-31 17:12:12 +01:00
dependabot[bot]
276d3e998f
Bump actions/download-artifact from 5 to 6 ( #6382 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 5 to 6.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-30 11:06:22 +01:00
dependabot[bot]
b2d5fa201a
Bump actions/upload-artifact from 4 to 5 ( #6383 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com >
2025-10-29 20:34:33 +01:00
EddieBreeg
95f09deaae
Removed unnecessary copy constructor declaration in aiVector3t ( #6384 )
...
* Removed unnecessary copy constructor declaration in aiVector3t
* Added copy constructor back in aiVector3t
* Added explicit declaration of assignment operator in aiVector3t
2025-10-29 10:58:34 +01:00
Kim Kulling
e778c84cd6
MD5: Fix face index allocation in MD5Parser ( #6380 )
...
- Ensure face indices are properly allocated and resized.
- closes https://github.com/assimp/assimp/issues/6379
2025-10-24 10:15:01 +02:00
Kim Kulling
5f7c06a71e
COB: fix validation for ascii header ( #6376 )
...
* COB: fix validation for ascii header
2025-10-23 22:44:54 +02:00
Kim Kulling
7dcf6a8984
Collada: Fix overflow in CopyVertex ( #6374 )
...
* Fix overflow in CopyVertex
2025-10-19 23:13:59 +02:00
Kim Kulling
cc6ab1408f
Update texture output format in AssxmlFileWriter ( #6372 )
...
* Update texture output format in AssxmlFileWriter
2025-10-17 11:24:38 +02:00
Kim Kulling
f544f9c217
Bugfix/fix sonarcube findings ( #6369 )
...
* Fix sonarcube findings.
---------
Co-authored-by: Kim Kulling <kim.kulling@draeger.com >
2025-10-14 00:01:50 +02:00
Kim Kulling
194da5b2fd
Update default material name handling ( #6366 )
...
* Replace strcpy by strncpy
2025-10-07 20:25:24 +02:00
Kim Kulling
f28a96121d
Change strcpy to strncpy for format hint safety ( #6365 )
2025-10-02 16:31:00 +02:00
Alexandre Avenel
6401aa9744
Add unit test for subdivision modifier on Blender importer ( #5345 )
...
* Add unit test for subdivision modifier on Blender importer
Blend file is composed of default cube with subdivision modifier applied
and same cube with subdivision modifier.
* Update utBlenderImportExport.cpp
Fix compiler warning.
---------
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com >
2025-09-29 21:22:56 +02:00
Sami Liedes
1894bfb22c
Fix an invalid offsetof warning-as-error ( #6359 )
...
The code already disables the warning on clang. It's also caused on
GCC in some circumstances (particularly when building with
-D_GLIBCXX_DEBUG).
2025-09-28 20:30:59 +02:00
Steve M
b8133b04c7
Clone meshlab/tinyusdz repos in default location ( #6239 )
...
* Leave FETCHCONTENT_BASE_DIR as default to avoid target platform generated build file conflicts
* Attempt address sonarCloud complaint about generic-looking include file (bare "Parser.h")
---------
Co-authored-by: tellypresence <info@tellypresence.com >
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com >
2025-09-23 11:34:13 +02:00
Paul Bauriegel
709fe3c3d0
Add BOM skip and fix mtl parsing ( #6253 )
...
* Add BOM skip and fix mtl parsing
* Remove old code
* Fix #5635
* Add all attributes to ObjFileData
---------
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com >
2025-09-22 11:20:24 +02:00
Matt Penny
489c8d565b
Restore merging of near-identical vertices for JoinIdenticalVertices ( #6278 )
...
* Restore merging of near-identical vertices for JoinIdenticalVertices
---------
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com >
2025-09-21 10:57:17 +02:00
Luca Della Vedova
0581ed5f11
Added tangent handedness to glTF export ( #6322 )
...
* Added tangent handedness to glTF export
2025-09-18 14:10:41 +02:00
fifth_light
5c568616ec
Fix hasTangentsAndBitangents method in AiMesh.java ( #6345 )
...
original code m_tangents != null && m_tangents != null; triggers error prone
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com >
2025-09-18 10:09:43 +02:00
AbdulRehman
45cb880835
Fixed Build.md ( #6354 )
...
* Fixed itch.io spelling from itchi.io
2025-09-18 09:34:55 +02:00
umläute
dd98d4aea3
PyAssimp: Re-add 'aiProcess_Triangulate' ( #6335 )
...
apparently, b9bfac0418 accidentally
removed a couple of lines with a botched copy'n'paste.
Co-authored-by: IOhannes m zmölnig <zmoelnig@umlautT.umlaeute.mur.at >
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com >
2025-09-17 10:23:37 +02:00
AbdulRehman
01ac320de8
Better README! Fixed discord link as well ( #6351 )
...
* Better README!
2025-09-17 08:16:38 +02:00
AbdulRehman
a815a78433
Updated doc/Preamble.txt & SECURITY.md ( #6338 )
...
* Update LICENSE
* Update Preamble.txt
* Update SECURITY.md
* Remove GitHub's default comment
2025-09-10 13:59:00 +02:00
Vitaly Ovchinnikov
69f8eb21fd
fix large glb reading by providing a proper helper for reading size_t type ( #6307 )
...
Co-authored-by: Vitaly Ovchinnikov <v@ovch.ru >
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com >
2025-09-09 14:27:17 +02:00
Kim Kulling
72b9939b9f
Add null check for aiNode in AddNode method ( #6348 )
...
- Added null check for node in AddNode function.
- closes https://github.com/assimp/assimp/issues/6347
2025-09-09 14:10:07 +02:00
Steven French
4c8a3bd39c
[CMake] -l ( #6329 )
...
- Fix zlib linkage.
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com >
2025-09-04 09:32:37 +02:00
Kim Kulling
8ef3838beb
FBX: Fix offset calculation by adding cursor check ( #6337 )
...
- closes https://github.com/assimp/assimp/issues/6336
2025-08-28 11:48:38 +02:00
AbdulRehman
441884387f
Update LICENSE ( #6327 )
2025-08-27 20:16:18 +02:00
Pranav P
f7bbf6dc15
Fix endiannes issues regarding floats on s390x ( #6276 ) ( #6277 )
...
* Fix endiannes issues regarding floats on s390x (#6276 )
* Fix CI Warnings
---------
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com >
2025-08-26 15:34:33 +02:00
Kyungjoon Ko
aadd49311a
Fix OOB read in OpenDDLParser::parsePrimitiveDataType ( #6315 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com >
2025-08-25 15:03:00 +02:00
dependabot[bot]
3f107bebf2
Bump actions/download-artifact from 4 to 5 ( #6319 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com >
2025-08-22 20:26:58 +02:00
Sergei Trofimovich
a38ec50fd3
test/unit/utProfiler.cpp: fix gcc-16 build failure ( #6267 )
...
* test/unit/utProfiler.cpp: fix `gcc-16` build failure
Upcoming `gcc-16` improved detection of unused variables as:
test/unit/utProfiler.cpp: In member function 'virtual void utProfiler_addRegion_success_Test::TestBody()':
test/unit/utProfiler.cpp:71:22: error: variable 'j' set but not used [-Werror=unused-but-set-variable=]
71 | volatile int j=0;
| ^
The change is intentional accoring to Andrew Pinsi and is not a faalse positive.
* Update utProfiler.cpp: Remove dead code
---------
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com >
2025-08-21 10:15:01 +02:00
Dongge Liu
4c42db1805
Fixed a heap-use-after-free in SortByPTypeProcess. ( #6326 )
...
The process incorrectly deleted original meshes from the scene when cleaning up after an error if those meshes had been added to its output list (outMeshes). The fix ensures proper ownership transfer by nullifying the original mesh pointer in the scene (pScene->mMeshes[i] = nullptr;) when the mesh is moved to outMeshes. This prevents the scene destructor from attempting to delete the mesh again later, while allowing the error cleanup path in SortByPTypeProcess to correctly delete all meshes it owns (both newly created and transferred originals).
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com >
2025-08-21 09:31:15 +02:00
dependabot[bot]
26e2372882
Bump actions/checkout from 4 to 5 ( #6328 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-20 12:50:30 +02:00
Dongge Liu
36b004e286
Fixed a heap-buffer-overflow in the Half-Life 1 MDL loader. ( #6321 )
...
The loader attempted to read the MDL header without verifying if the input buffer was large enough.
Added a check in MDLImporter::InternReadFile_HL1 to ensure the buffer size is sufficient before proceeding with loading.
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com >
2025-08-18 09:29:45 +03:00