Commit Graph

756 Commits

Author SHA1 Message Date
Mateusz Karbowiak
2ae3932fcc Revert BitArray changes 2024-10-31 01:06:04 +01:00
Mateusz Karbowiak
5d32ed7f8e Collections casts constiness fix 2024-10-31 00:49:59 +01:00
Mateusz Karbowiak
fbb840dff3 Collections de/increment operations fix
This one is more stylistic but is consistent with practice of using pre- operations for iterators.
2024-10-31 00:45:00 +01:00
Mateusz Karbowiak
9c448f75d8 Collections const correctness fix (style) 2024-10-31 00:29:38 +01:00
Mateusz Karbowiak
66b6a29ed4 Collections iterator move noexcept fix 2024-10-31 00:21:34 +01:00
Mateusz Karbowiak
8cb7fb48ce Dictionary returning const item fix
Returning const object does not prevent from using mutable by triggering copy constructor.
2024-10-31 00:21:33 +01:00
Mateusz Karbowiak
5439efc559 Collections implicit cast constructor fix
This one prohibits annoying casts. It is also important for future context injection and follows STL practice.
2024-10-30 22:30:55 +01:00
Mateusz Karbowiak
f77f551b72 Collections type aliasing fix
This one is debatable. It follows modern C++.
2024-10-30 22:30:54 +01:00
Mateusz Karbowiak
a55866d558 Collections casts fix 2024-10-30 22:18:47 +01:00
Mateusz Karbowiak
02db7d02f2 Collections const-correctness fix 2024-10-30 21:06:16 +01:00
Wojtek Figat
6af788b20c Fix logging missing ref duplicates
#3018
2024-10-25 17:27:28 +02:00
Wojtek Figat
9694446fca Optimize Color32 to use packed bits for quick comparisons 2024-10-08 12:15:01 +02:00
Wojtek Figat
b9849e2b5c Fix parsing numbers to support sign 2024-10-04 15:59:48 +02:00
Wojtek Figat
1414eb9852 Add Variant enum parsing by name and fix enum printing to string 2024-10-03 17:12:39 +02:00
Wojtek Figat
fbc5a061d9 Merge branch '1.9' of https://gitlab.flaxengine.com/flax/flaxengine into 1.9 2024-09-30 12:22:40 +02:00
Wojtek Figat
cf8c9f0982 Add basic Variant parsing from text 2024-09-30 12:20:34 +02:00
Wojtek Figat
da203352fd Refactor old code documentation 2024-09-24 18:20:12 +02:00
Wojtek Figat
18dc475f40 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Engine/UI/GUI/Common/Button.cs
2024-09-23 14:11:05 +02:00
Wojtek Figat
ba701eb4d3 Fix compilation warnings on large worlds 2024-09-19 17:04:31 +02:00
Wojtek Figat
87b0cc705e Add logging missing object reference context when spawning prefab
#2414
2024-09-19 10:49:26 +02:00
Wojtek Figat
dcadb11a20 Fix build 2024-09-16 13:45:37 +02:00
Wojtek Figat
a367d40913 Add more contextual log printing on missing object/asset reference
#2414
2024-09-15 23:03:53 +02:00
Wojtek Figat
9daddccbed Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Editor/Modules/ContentDatabaseModule.cs
#	Source/Editor/Surface/SurfaceUtils.cs
#	Source/Editor/Windows/Assets/MaterialInstanceWindow.cs
#	Source/Engine/Foliage/Foliage.cpp
#	Source/Engine/Graphics/Models/MeshBase.h
#	Source/Engine/Tools/MaterialGenerator/MaterialGenerator.Textures.cpp
2024-09-12 13:38:20 +02:00
Wojtek Figat
c26a806a35 Code cleanup
#1456
2024-09-11 19:57:57 +02:00
Wojtek Figat
653aaecaec Postmerge cleanup
#2391
2024-08-30 14:48:06 +02:00
Wojtek Figat
3b9cca30bb Merge branch 'Math' of https://github.com/cNori/FlaxEngineFork into cNori-Math 2024-08-30 13:23:43 +02:00
Wojtek Figat
a18565fd61 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-23 00:05:00 +02:00
Wojtek Figat
23f60da40d Fix various code issues found using PVS-Studio 2024-08-22 20:24:52 +02:00
Wojtek Figat
21b4c7c916 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-16 14:52:57 +02:00
Wojtek Figat
b551610604 Merge branch 'isnormalized_checks' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-isnormalized_checks 2024-08-15 15:21:58 +02:00
Wojtek Figat
45e83d6d15 Add feedback from PVS (static code analyzer)
https://pvs-studio.com/en/blog/posts/cpp/1153/
2024-08-15 13:01:40 +02:00
ddbdf479ae Add assertion check for normalized rections to C# Ray constructor 2024-08-07 21:18:12 +03:00
f759f94cfa Use CHECK_DEBUG over ASSERT in normalized direction checks 2024-08-07 21:18:09 +03:00
Wojtek Figat
bc313c8630 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-05 20:00:39 +02:00
387e8d1dd9 Use larger epsilon in Vector IsNormalized checks 2024-08-05 18:41:41 +03:00
Wojtek Figat
e44e44d317 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-05 11:08:51 +02:00
Wojtek Figat
cf501945a3 Merge branch 'fix/move-semantics' of https://github.com/mtszkarbowiak/FlaxEngine into mtszkarbowiak-fix/move-semantics 2024-07-25 10:47:31 +02:00
Wojtek Figat
7a635e2896 Merge branch 'assert_directions' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-assert_directions 2024-07-25 09:16:16 +02:00
Wojtek Figat
dd61d5793c Merge branch 'woa_support' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-woa_support
# Conflicts:
#	Source/ThirdParty/assimp/config.h.in
#	Source/Tools/Flax.Build/Deps/Dependencies/Assimp.cs
2024-07-24 19:03:53 +02:00
Wojtek Figat
5ddf24381b Merge branch 'deprecation_messages' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-deprecation_messages 2024-07-24 16:41:49 +02:00
8b22ffe007 Fix warnings about upcoming C# reserved keywords 2024-07-20 20:46:32 +03:00
55d55212c3 Add assertions for checking against un-normalized direction vectors 2024-07-20 15:34:11 +03:00
Wojtek Figat
b33c2b4f36 Merge remote-tracking branch 'origin/master' into 1.9 2024-07-19 00:32:54 +02:00
Wojtek Figat
3aa8e67551 Add option for smooth DDGI cascades blending 2024-07-18 23:51:03 +02:00
Wojtek Figat
5259c41b40 Merge branch 'quaternion-fix-down' of https://github.com/Zode/FlaxEngine into Zode-quaternion-fix-down 2024-07-18 12:40:00 +02:00
Zode
e1cf41b94b Fix Quaternion.FromDirection giving bogus output when fed a perfect down vector 2024-07-17 01:12:17 +03:00
Chandler Cox
6588a71879 Dont allow resize of layers array. 2024-07-15 18:19:14 -05:00
Wojtek Figat
559cd74647 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Engine/Audio/Audio.cpp
2024-07-05 22:18:40 +02:00
Wojtek Figat
d1e54b821b Fix asset to be soft when transformation is nan or inf
#2742
2024-07-04 18:05:47 +02:00
Wojtek Figat
6fbf4a6aac Optimize draw calls sorting and objects buffer building to be async 2024-07-02 16:07:09 +02:00