Kim Kulling
3036de89d3
Update utIOStreamBuffer.cpp
2024-09-10 20:59:51 +02:00
Kim Kulling
26df0b50e5
Use correct warning switch off
2024-09-10 20:30:43 +02:00
Kim Kulling
8bd943abc6
Update CMakeLists.txt
2024-09-10 19:37:01 +02:00
Kim Kulling
3a39648358
Update gzclose.c
...
Fix compiler warning
2024-09-10 19:16:31 +02:00
Kim Kulling
7c81fa89e7
Update zutil.c
...
Disable warning.
2024-09-10 19:10:15 +02:00
Kim Kulling
b65e84d759
Merge branch 'master' into kimkulling/add_windows_clang_issue-5519
2024-09-10 18:39:00 +02:00
dataisland
d468e633b1
Fix invalid access ( #5765 )
...
* Fix invalid access
* Update SortByPTypeProcess.cpp
Some smaller refactorings.
* Update SortByPTypeProcess.cpp
Small refactorings.
---------
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-09-10 09:12:01 +02:00
Kim Kulling
4024726eca
Fix leak ( #5762 )
...
* Fix leak
* Update utLogger.cpp
2024-09-07 21:02:34 +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
Kim Kulling
709a8f2f79
Merge branch 'master' into kimkulling/add_windows_clang_issue-5519
2024-08-30 13:23:52 +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