Kim Kulling
2e6c92a797
Fix leak
2024-09-07 10:29:11 +02:00
Kim Kulling
cd0ef869e3
Kimkulling/mark blender versions as not supported ( #5370 )
...
* Cleanup defs + add deprecated macro
* Remove empty line
* Remove dead code
---------
Co-authored-by: Kim Kulling <kim.kulling@draeger.com>
2024-09-05 23:40:19 +02:00
RichardTea
ed3fccd5db
Add option to ignore FBX custom axes ( #5754 )
...
AI_CONFIG_IMPORT_FBX_IGNORE_UP_DIRECTION
Default false
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-09-05 21:03:26 +02:00
Matthias Möller
ff2dc2fb2e
Prevents PLY from parsing duplicate properties ( #5743 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-09-04 11:54:24 +02:00
Tobias Rittig, Ph.D.
f69e55058d
Allow usage of pugixml from a superproject ( #5752 )
...
When using CMake subprojects with an existing build of pugixml
this prevents Assimp from using its own copy.
2024-09-03 21:45:30 +02:00
RichardTea
c1ffbfec06
Zero-length mChildren arrays should be nullptr ( #5749 )
...
- Children: Don't allocate a zero-length array
- aiNode::mChildren should be left nullptr instead.
2024-09-03 10:26:27 +02:00
Kim Kulling
c35200e38e
prepare v5.4.3 ( #5741 )
...
* prepare v5.4.3
- Increase patch level
* Update utVersion.cpp
Fix version test
2024-08-30 20:35:01 +02:00
Kim Kulling
1e09642382
Ply-Importer: Fix vulnerability ( #5739 )
2024-08-30 19:43:39 +02:00
Kim Kulling
edaf87f186
Update ccpp.yml ( #5740 )
...
- Add ccache to build
2024-08-30 19:29:32 +02:00
Olivier Chafik
88340d0ce0
`build`: Add ccache support ( #5686 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-30 13:22:54 +02:00
Fav
5e912e68da
Update glTF2AssetWriter.inl ( #5647 )
...
The total length is incorrect when exporting gltf2
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-29 23:55:18 +02:00
Vincent Fazio
ae0ff8a88a
Update PyAssimp structs with Skeleton & SkeletonBone members ( #5734 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-29 23:45:35 +02:00
Aliaksandr Kasmachou
924106188e
feat: add option for creating XCFramework and configure minimum iOS target ( #5648 )
...
* feat: add option for creating XCFramework and configure minimum iOS target with a build parameter
* style: update indents for iOS bash script
---------
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-29 23:05:32 +02:00
Haixi
389bdedda7
FBX: add metadata as properties ( #5675 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-29 21:38:34 +02:00
Olivier Chafik
f39f53e860
Fix casting typo in D3MFExporter::writeBaseMaterials (color channels < 1.0f were zeroed out) ( #5681 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-29 21:27:13 +02:00
OGAWA KenIchi
11daaf79a5
Fix to judge 'multi-configuration' correctly ( #5720 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-29 21:09:17 +02:00
Matthias Möller
3e7e4c8c52
Fix potential memory leak in SceneCombiner for LWS/IRR/MD3 loader ( #5721 )
...
* fix potential memory leak in scenecombiner
* also cleansup srclist
* de-duplicates before deleting
---------
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-29 11:21:59 +02:00
Vincent Fazio
4338817ca2
Fix copying private data when source pointer is NULL ( #5733 )
2024-08-29 00:13:40 +02:00
dependabot[bot]
fd7ad4a9d8
Bump softprops/action-gh-release from 1 to 2 ( #5730 )
...
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release ) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases )
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md )
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: softprops/action-gh-release
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>
2024-08-27 21:47:37 +02:00
dependabot[bot]
a7a424e0a7
Bump actions/upload-artifact from 1 to 4 ( #5731 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 1 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v1...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
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>
2024-08-27 13:04:32 +02:00
dependabot[bot]
f0ca4df704
Bump actions/download-artifact from 1 to 4 ( #5732 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 1 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v1...v4 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
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>
2024-08-27 10:36:13 +02:00
imdongye
d32370ff12
fix GetShortFilename function ( #5728 )
...
when blender export fbx then embedded texture path have slash and back slash.
so GetShortFilename have to check both types of slashes
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-25 17:11:19 +02:00
Sanchikuuus
12ed0286e4
Added more Maya materials ( #5101 )
...
* Added more Maya materials
Added Maya materials to list and add setting texture properties for getting lost textures to mesh
* Update utMaterialSystem.cpp
Now new enumerators are handled by a case label in utMaterialSystem.cpp
* Update material.h
- Fix tests: use the correct max material parameter
---------
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-24 11:29:47 +02:00
Kim Kulling
bb9db8409f
Sparky kitty studios master ( #5727 )
...
* upload contains "windows" in GH Actions
* Update ccpp.yml
* Update ccpp.yml
* Update ccpp.yml
* Update ccpp.yml
* Update ccpp.yml
* Update ccpp.yml
* Update ccpp.yml
* buildする方についてwindows-msvcのついている方にした
この二つ、何の違いがあるかいまいち理解してない…
clでビルドするかhunterでビルドするかの違い?
* upload/release対象のartifactを修正
追加当時のIssueを参考に修正(当時はHunterなかったっぽい)
a9a0c30932
* fix ccpp.yml -- fix matrix.name check for artifact
* fix ccpp.yml - build both hunter or not
* Update ccpp.yml
* Update ccpp.yml
* Update ccpp.yml
* Update ccpp.yml
* Update ccpp.yml
* Update ccpp.yml
* Fix verbose string + refactorings
* Revert "Fix verbose string + refactorings"
This reverts commit 824db16a68
.
* Fix verbose string + refactorings
---------
Co-authored-by: Kazuki Y <6259214+kazu0617@users.noreply.github.com>
Co-authored-by: kazu0617 <kazu0617@protonmail.com>
Co-authored-by: Kim Kulling <kim.kulling@draeger.com>
2024-08-22 11:09:14 +02:00
sacereda
d83904e3ee
Expose aiGetEmbeddedTexture to C-API ( #5382 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-21 21:15:57 +02:00
Kim Kulling
bc6710a116
Fix leak in loader ( #5718 )
...
* Fix leak in loader
Closes https://github.com/assimp/assimp/issues/5717
* Free generated mesh on importer destruction.
2024-08-17 13:49:09 +02:00
OGAWA KenIchi
10e97b2f4a
Fix MSVC build error ( #5716 )
...
* add compile option /source-charset:utf-8
2024-08-16 19:33:09 +02:00
Steve M
d95a5c60ef
Revert variable name (fix broken build on android) ( #5715 )
...
Co-authored-by: Steve M <praktique-tellypresence@yahoo.com>
2024-08-14 12:13:49 +02:00
Matthias Möller
12cdbb712c
Fixes possible out-of-bound read in findDegenerate ( #5679 )
...
This is possible, if the option "aiProcess_ValidateDataStructure" is deactivated as postprocessing step, but the option "aiProcess_FindDegenerates" is activated and the mesh contains invalid data structures
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-13 16:24:43 +02:00
Måns Andersen
b992ff278b
Remove recursive include ( #5705 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-13 16:14:31 +02:00
Måns Andersen
9485d49e93
include Exceptional.h in 3DSExporter.cpp ( #5707 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-13 11:17:45 +02:00
RichardTea
f950f61a52
Use DRACO_GLTF_BITSTREAM ( #5709 )
...
Replaces deprecated DRACO_GLTF cmake option
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-13 10:09:28 +02:00
RichardTea
afe06f2298
Fix MSVC PDBs and permit them to be disabled if required ( #5710 )
...
* Revert "Remove /Zi compiler flag for MSVC, release config"
This reverts commit 9e1de3ec6e
.
* Allow MSVC PDB creation to be disabled
Turn off ASSIMP_INSTALL_PDB to disable PDB creation
* Whitespace cleanup
Assimp uses spaces in cmakelists, not tabs
---------
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-13 09:53:33 +02:00
mkuritsu
d41b6b253d
Added AND condition in poly2tri dll_symbol.h to only define macros fo… ( #5693 )
...
* Added ADD condition in poly2tri dll_symbol.h to only define macros for dynamic library linking if assimp is ordered to build as DLL
* Reverted last commit to handle this issue in a better way.
* added P2T_STATIC_EXPORTS to compile definitions when building assimp as DLL
---------
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-13 09:39:53 +02:00
Nathan V. Morrical
09b981d943
fixing static build ( #5713 )
2024-08-13 09:23:14 +02:00
Kimbatt
48c3a0ec46
FBX exporter - handle multiple vertex color channels ( #5695 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-08-07 22:43:02 +02:00
Kim Kulling
a37d748c17
Update DefaultIOSystem.cpp ( #5697 )
...
- closes https://github.com/assimp/assimp/issues/5678
2024-08-02 18:28:29 +02:00
Kim Kulling
e63d3ed8e7
Make coord transfor for hs1 files optional ( #5687 )
...
* Make coord transfor for hs1 files optional
* Add config switch for HS1 transformation transformation
2024-07-31 18:39:39 +02:00
Kim Kulling
104a70f845
Return false instead of crash ( #5685 )
...
- Return false instead of crash
- closes https://github.com/assimp/assimp/issues/5684
2024-07-23 16:32:11 +02:00
Florian Born
76de7cedf4
A fuzzed stride could cause the max count to become negative and hence wrap around uint ( #5414 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-07-23 16:17:54 +02:00
JensEhrhardt-eOPUS
c55158cd82
CalcTangents: zero vector is invalid for tangent/bitangent ( #5432 )
...
* CalcTangents: zero vector is invalid for tangent/bitangent
2024-07-23 13:13:12 +02:00
Kim Kulling
571ba09dc7
Mosfet80 updatedpoli2tri ( #5682 )
...
* updated poli2tri library to last version
2024-07-23 10:41:43 +02:00
Kim Kulling
db19f62a0c
Merge branch 'master' of https://github.com/assimp/assimp
2024-07-22 09:11:17 +02:00
Stoyan Gaydarov
5d5e0bad3c
Fix a fuzz test heap buffer overflow in mdl material loader ( #5658 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-07-19 21:48:10 +02:00
Kim Kulling
9cf03b4ddc
Introduce interpolation mode to vectro and quaternion keys ( #5674 )
...
* Introduce interpolation mode to vectro and quaternion keys
* Update USDLoader.cpp
Fix review finding
* Update USDLoader.h
Fix review finding,
2024-07-18 23:54:31 +02:00
Vincent Fazio
91e93578c7
Update Python structs with missing fields ( #5673 )
2024-07-17 21:25:16 +02:00
Kim Kulling
da281b7f48
Introduce interpolation mode to vectro and quaternion keys
2024-07-17 15:49:17 +02:00
Kim Kulling
35e4f1bf64
Kimkulling/fix double precision tests ( #5660 )
...
* Make color single precision
* Fix the unittests for double precision
* Fix merge issues
* Fix issues with Vertex + Color4
* Fix vertex operator, some tests are still red.
2024-07-12 14:37:49 +02:00
Steve M
0cb1693689
[USD] Integrate "tinyusdz" project ( #5628 )
...
* Squash development commits for PR
* Fix failing build on armeabi-v7a via android NDK
* Update with blendshape support
* Migrate to auto-cloning and patching tinyusdz (instead of manually copying files)
* Update to latest rendermesh-refactor branch commit
* Remove tracked file
* Update to use recent commit to "dev" branch
"rendermesh-refactor" was merged to "dev" around 9 May 2024 but merge
was not obvious from commit messages
* Add UNUSED() macro
(cherry picked from commit d89fe8f034c353cc5cc5b3ac78cd8845e006de38)
* Update tinyusdz branch
* Prevent per-ABI (x86, x86_64 etc) clone on android
* Add verbose logging cmake option
* Fix macro and patch
* Address compiler warnings
* Address compiler warnings
* Address compiler warnings
* Attempt prevent re-clone/re-patch once downloaded by any ABI build
* Disable tinyusdz clone/build by default
assimp github PR auto-CI checks clone/build the tinyusdz code, and reject PR
due to compiler warnings in the 3rd party external tinyusdz project
---------
Co-authored-by: Steve M <praktique-tellypresence@yahoo.com>
2024-07-12 13:25:35 +02:00
Kim Kulling
d3bec44990
Update Readme.md ( #5665 )
2024-07-11 14:19:09 +02:00