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
Kim Kulling
a4b8943533
Refactor condition checks for empty vectors ( #6385 )
...
* Refactor based on SonarCube.
2025-11-07 16:07:39 +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
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
9f4e7c6d8d
Refactoring: use using types ( #6266 )
...
* Refactoring: use using types
---------
Co-authored-by: Kim Kulling <kim.kulling@draeger.com >
2025-07-28 17:00:45 +02:00
Kim Kulling
0c02313893
Refactor ( #6127 )
...
* Refactor 3DS
---------
Co-authored-by: Kim Kulling <kim.kulling@draeger.com >
2025-05-03 11:46:10 +02:00
krishty
55e6359436
More constexpr ( #6066 )
...
Co-authored-by: Krishty <krishty@krishty.com >
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com >
2025-03-27 15:08:21 +01:00
krishty
88959b2be7
Fix Whitespace ( #6063 )
...
* Fix Whitespace
No functional changes. This commit removes trailing spaces, undesired line breaks, and formatting screwups.
* Remove more useless line breaks in license (500 out of 630 license copies do NOT use double line breaks here)
---------
Co-authored-by: Krishty <krishty@krishty.com >
Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com >
2025-03-26 00:12:55 +01:00
Kim Kulling
45898eee55
Refactorings: glTF cleanups ( #6028 )
2025-03-05 21:37:47 +01:00
Kim Kulling
5fa7b8ceb9
Bugfix/cosmetic code cleanup ( #5947 )
...
* Refactorings: Code cleanups
* More cosmetic changes
---------
Co-authored-by: Kim Kulling <kim.kulling@draeger.com >
2025-01-07 23:32:50 +01:00
Kim Kulling
1ce3164bc2
Bug/evaluate matrix4x4 access ( #5936 )
...
* Add test for 3x3 matrices and 4x4 matrix access
2024-12-23 16:33:37 +01: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
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
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
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
01231d0e60
Add 2024 to copyright infos ( #5475 )
2024-02-23 22:30:05 +01:00
Stephen Gold
213d73ebc6
correct grammar/typographic errors in comments (8 files)
2023-12-04 23:58:54 +01:00
Kim Kulling
4535e37fc6
Fix namespaces.
2023-11-12 21:09:33 +01:00
Kim Kulling
8cf2d6e588
Refactoring: Some cleanups
2023-11-12 21:09:33 +01:00
Kim Kulling
0b0ec713f6
Fix empty mesh handling
2023-11-10 15:36:40 +01:00
Kim Kulling
1243325f10
Merge branch 'master' into kimkulling/refactoring_geoutils
2023-05-04 21:10:00 +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
5d841ec9a5
Refactoring: Cleanup post-processing steps.
2023-04-16 18:20:14 +02:00
Jackie9527
a87585668d
Fix warning related to unreachable-code-return, disable warning.
...
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com >
2023-04-05 07:37:48 +08: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
Krishty
36305cf987
Tidy Up Constructors and Destructors
...
This commit does not add or remove c’tors or d’tors, so it is *not* ABI-breaking.
If a c’tor/d’tor does nothing else than the default behavior, this commit replaces it with “= default”.
If an initializer list entry does nothing else than the default behavior, this commit removes it. First and foremost, remove default c’tor calls of base classes (always called by the compiler if no other base c’tor is explicitly called) and c’tor calls of members with complex types (e.g. “std::vector”).
In a few instances, user-defined copy c’tors / move c’tors / assignment operators / move assignment operators were replaced with “= default”, too. I only did this if I had a clear understanding of what’s going on.
2023-01-16 21:47:11 +01:00
Aaron Gokaslan
e93fa6699a
Manually fix up 100 more instances where it should be defaulted
2022-08-25 12:20:13 -04:00
Aaron Gokaslan
27edb43600
Apply modernize-use-emplace clang-tidy rule
2022-08-23 11:41:49 -04:00
Kim Kulling
5084a4d155
Use [[fallthrough]]; to mark whished fallthroughs
...
- closes https://github.com/assimp/assimp/issues/4654
2022-08-05 20:49:37 +02:00
Engin Manap
a10abe0283
Add fallthrough comment to switch case
...
This allows gcc to identify intentional fallthroughs, which are part all
-Wall. Specifically -Werror=implicit-fallthrough
2022-07-08 18:16:02 +02:00
Kim Kulling
05746acb07
Merge branch 'new-file-detection' of https://github.com/krishty/assimp into krishty-new-file-detection
2022-01-16 20:41:24 +01:00
Kim Kulling
50c7301a38
Update copyrights
2022-01-10 21:13:43 +01:00
RichardTea
ee19ce6021
3DS Export: Add support for aiShadingMode_PBR_BRDF
...
Export as Phong.
If no Diffuse texture, export the PBR base color instead,
2021-11-08 11:06:15 +00:00
IOhannes m zmölnig
3b8126d26a
Fix spelling mistake
2021-10-08 08:48:01 +02:00
Kim Kulling
18531e3677
Next iteration for c++11 features.
2021-09-13 22:38:20 +02:00
Madrich
9b535d1c15
Fix Double Precision errors/warnings
2021-08-31 12:59:31 +02:00
Kim Kulling
df739f00dd
Merge branch 'master' into issue_3398
2021-08-28 13:56:50 +02:00
Kim Kulling
a7bc858698
Fix review finding.
2021-08-28 13:36:57 +02:00
Kim Kulling
4b1ff645e3
closes https://github.com/assimp/assimp/issues/3398 : Add support for embedded textures
2021-08-12 21:13:07 +02:00
Krishty
758116b083
removed trailing spaces and tabs from source and text
...
This commit ignores the “contrib” folder in order to prevent merge conflicts in dependencies, should these be updated via git.
2021-07-29 13:28:51 +02:00
Aaron Gokaslan
94c3abd841
Apply various performance fixes from clang-tidy
2021-06-22 12:27:15 -04:00
Malcolm Tyrrell
4ec01cfdcd
Improve use of logging
2021-05-13 12:05:31 +01:00
Malcolm Tyrrell
5cd3bdd5c2
No need to distinguish formatting log functions.
2021-05-13 10:25:27 +01:00
Malcolm Tyrrell
58bc4bcb63
log info
2021-05-12 12:55:21 +01:00
Jason C
f87b180147
Merge branch 'master' into jc3-importer-open-error-handling
2021-05-09 17:02:04 -04:00
Jason C
116ebf6e10
[3ds] Fix assertion failure when file could not be opened
...
Check result of IOSystem::Open before constructing stream.
Partially addresses #3888 .
2021-05-05 17:30:05 -04:00
Krishty
b79b84d34e
Merge branch 'master' into new-file-detection
2021-05-05 00:09:42 +02:00
Krishty
0f3e6e2941
replaced std::size() with AI_COUNT_OF for pre-C++20 compilers
2021-05-05 00:08:54 +02:00
Jason C
2925592c64
[assimp] Make sure ctype calls use unsigned char.
...
Cast to unsigned char as required by C++ (see C++ **[cctype.cyn]** -> ISO C99 section 7.4, [see also](https://en.cppreference.com/w/cpp/string/byte/isspace )).
Addresses https://github.com/assimp/assimp/issues/3867 and then some.
2021-05-04 17:31:13 -04:00
kkulling
55fd820ed7
use const chars
2021-05-04 10:57:30 +02:00