Kim Kulling
4024726eca
Fix leak ( #5762 )
...
* Fix leak
* Update utLogger.cpp
2024-09-07 21:02:34 +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
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
a37d748c17
Update DefaultIOSystem.cpp ( #5697 )
...
- closes https://github.com/assimp/assimp/issues/5678
2024-08-02 18:28:29 +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
Brad D
625528d02c
Fix: StackAllocator Undefined Reference fix ( #5650 )
...
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-07-03 10:05:58 +02:00
Kim Kulling
a51500ba2b
Draft: Update init of aiString ( #5623 )
...
* Draft: Update init of aiString
- closes https://github.com/assimp/assimp/issues/5622
* Update types.h
* Fix typo
* Fix another typo
* Adapt usage of AI_MAXLEN
* Fix compare operator
* Add missing renames
2024-06-17 13:12:54 +02:00
Kim Kulling
97cbecb859
Move revision.h and revision.h.in to include folder ( #5615 )
2024-06-12 21:01:03 +02:00
Kim Kulling
a722e33027
Move aiScene constructor ( #5614 )
2024-06-11 21:19:52 +02:00
Kim Kulling
30466aaf16
Fix possible nullptr dereferencing. ( #5595 )
2024-05-24 15:36:30 +02:00
vengine
ec5242a1a0
Fix a bug that could cause assertion failure. ( #5575 )
...
Co-authored-by: macmini <xhnsworks2@icloud.com>
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-05-22 21:20:22 +02:00
Kim Kulling
325b0a543f
Add checks for invalid buffer ans size ( #5570 )
2024-05-13 08:55:10 +02:00
Kim Kulling
8b9ed34eaa
Update CMakeLists.txt ( #5531 )
...
* Update CMakeLists.txt
* Update Version.cpp
* Update CMakeLists.txt
Update minimum version of cmake
* Update utVersion.cpp
Adapt unittest
2024-04-07 23:14:12 +02:00
Kim Kulling
b41ffa5561
Remove default destructor definitions from cpp files ( #5528 )
2024-04-07 21:42:52 +02:00
Laura Hermanns
727774f181
Fix compilation for MSVC14. ( #5490 )
...
- std::min/max were not defined in StackAllocator.inl; Also added explicit template arguments to break macro expansion if Windows.h is included prior and NOMINMAX macro is not present.
- Made static_assert statements compatible with C++11 in ProcessHelper.cpp.
- Removed unused string_view include in ObjFileParser.cpp.
2024-03-11 09:09:23 +01:00
Kim Kulling
01231d0e60
Add 2024 to copyright infos ( #5475 )
2024-02-23 22:30:05 +01:00
tigertang
a02085ea98
Update StbCommon.h to stay up-to-date with stb_image.h.
...
This enables C++ API users to statically link Assimp into their projects along with stb_image.
2024-01-29 13:52:54 +01:00
Marka Ragnos
3ce8a58d41
Update DefaultIOSystem.cpp
...
Added missing whitespace
2023-12-20 20:55:04 +01:00
Alexander Wagner
d03ab3ef27
- fixed Exist function on Linux
2023-12-20 20:55:04 +01:00
IOhannes m zmölnig
bfdd154d14
Always include "zlib.h" (rather than .../contrib/zlib/zlib.h)
...
The path to the vendored zlib is set by the build-system,
so there's no need to add additional preprocessor magic
2023-11-29 09:53:03 +01:00
IOhannes m zmölnig
6f70e220e4
always include "utf8.h" (instead of contrib/.../utf8.h)
2023-11-29 09:53:03 +01:00
Kim Kulling
0b0ec713f6
Fix empty mesh handling
2023-11-10 15:36:40 +01:00
Kim Kulling
e5e3e07b84
Fix copyrights.
2023-09-23 18:35:48 +02:00
Aaron
0bfc588c39
Update Triangulate Process [more another case]
2023-08-15 18:01:16 +08:00
Marco Feuerstein
52e5c3f39e
Fix violation of strict aliasing rule.
2023-07-21 09:48:45 +02:00
Marco Feuerstein
0e7cd18c8b
Strip aws gcs version string.
2023-07-14 09:37:48 +02:00
Kim Kulling
e2b19ef776
Merge branch 'master' into file_extension
2023-07-10 11:19:27 +02:00
Marco Feuerstein
87cac888e4
More simplifications.
2023-07-08 12:58:11 +02:00
Marco Feuerstein
bdde968677
Address reviewer comment.
2023-07-08 12:58:11 +02:00
Marco Feuerstein
506baa21e6
Unify extension check for importers.
...
This enables proper checking for all kinds of extensions (including the
ones with multiple dots) for all importers and internal usage.
2023-07-08 12:58:11 +02:00
Marco Feuerstein
0256047168
Extend token search flag from alpha to graph.
...
This way we can fix Blender exported files being wrongly detected as
obj files.
2023-07-08 12:57:45 +02:00
Alex
b3a1c72c8f
Fix Heap-buffer-overflow READ in Assimp::FileSystemFilter::Cleanup
2023-06-14 07:40:28 +02:00
Kim Kulling
f43cfa1fba
Merge branch 'master' into msvc-clang-unused-function
2023-05-24 23:23:40 +02:00
Samuel Kogler
0fbd2f5894
Merge branch 'master' into fix-pbrt-exporter
2023-05-24 15:24:46 +02:00
Kim Kulling
94905d445f
Revert usage of unique_ptr - error.
2023-05-15 16:06:02 +02:00
Kim Kulling
71a4977dd1
Fix: Try unique_ptr
2023-05-15 15:46:21 +02:00
Kim Kulling
8ad4bb0b2c
Update StackAllocator.inl
2023-05-15 15:09:54 +02:00
Kim Kulling
b5b6400320
Fix: Use vector.
2023-05-15 15:08:52 +02:00
Kim Kulling
aed43878ef
Merge branch 'master' into FlorianBorn71-SmallAllocationFixInFBXLoader
2023-05-15 14:28:46 +02:00
Kim Kulling
ad399adf4b
Add missing include
2023-05-15 13:19:02 +02:00
Kim Kulling
e627f691a8
Merge branch 'SmallAllocationFixInFBXLoader' of https://github.com/FlorianBorn71/assimp into FlorianBorn71-SmallAllocationFixInFBXLoader
2023-05-15 09:30:57 +02:00
Lutz Hören
9ea37b5330
copy aiMetadata objects in scene combiner
2023-05-11 08:00:25 +02:00
Jackie9527
fbf8799cb5
Fix warning related to unused-function.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-05-03 23:02:38 +08:00
Samuel Kogler
55cb19f924
Fix PBRT exporter coordinate system
...
Was just mirroring the x axis. This uses aiProcess_ConvertToLeftHanded and
rotates the root node to match PBRT.
The problem is apparent when using an environment map texture.
2023-05-03 16:52:33 +02:00
Kim Kulling
71366fff8e
Merge branch 'master' into msvc-clang-inconsistent-missing-destructor-override
2023-04-26 09:31:55 +02:00
Kim Kulling
e6f26fc52e
Remove dead code.
2023-04-04 12:54:26 +02:00
Jackie9527
7df4efea44
Fix warning related to inconsistent-missing-destructor-override.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
2023-04-01 21:49:38 +08:00