Commit Graph

89 Commits

Author SHA1 Message Date
Wojtek Figat
3a798a70fa Fix collections capacity growing to use the closest power of two
Capacity was incorrectly 2x larger than needed.
Added unit test to ensure it stays correct.
2025-12-04 23:29:15 +01:00
Wojtek Figat
c57e128ff1 Merge remote-tracking branch 'origin/master' into 1.11
# Conflicts:
#	Source/Engine/Level/Scene/SceneRendering.cpp
#	Source/Engine/Physics/Colliders/Collider.cpp
#	Source/Engine/Physics/Colliders/Collider.h
2025-09-02 22:23:45 +02:00
Wojtek Figat
1042ad4e7d Fix object ids remapping inside nested prefabs
#3255
2025-09-02 21:41:36 +02:00
Wojtek Figat
986693757c Merge remote-tracking branch 'origin/master' into 1.11 2025-06-16 22:46:17 +02:00
Wojtek Figat
6a82eb114d Fix BitArray bit indexing 2025-06-16 19:05:44 +02:00
Wojtek Figat
9d8e75caa3 Fix various code to improve quality 2025-06-06 11:19:32 +02:00
Wojtek Figat
fa97229830 Merge branch 'float_equality' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-float_equality 2025-06-03 17:26:12 +02:00
Wojtek Figat
08ed5ae483 Add SCOPE_EXIT macro and use it in prefab tests to cleanup assets on test fail 2025-05-30 11:16:17 +02:00
12dbf09164 Fix tests 2025-05-02 14:19:55 +03:00
Wojtek Figat
9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
Wojtek Figat
dad8c0cd6b Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Engine/Level/Prefabs/Prefab.Apply.cpp
2025-02-27 17:17:02 +01:00
Wojtek Figat
b2c8c4018c Fix scripting bindings codegen for SoftTypeReference and SceneReference
#2761
2025-02-26 22:43:30 +01:00
Wojtek Figat
2d956ebb36 Fix error when applying prefab changes with missing (deleted) nested prefabs
#3244
2025-02-26 17:46:22 +01:00
Wojtek Figat
a6fb651ff4 Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Engine/Graphics/Materials/MaterialShader.h
2025-02-18 09:19:59 +01:00
Wojtek Figat
086ddc96bb Fix incorrect prefab serialization to correctly handle diff on object references to prefab objects
#3136
2025-02-14 17:07:33 +01:00
Wojtek Figat
dffc6ea24d Move hash set related configs into proper header file and rename those 2025-01-24 00:05:07 +01:00
Wojtek Figat
9d70fd82d6 Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Engine/Networking/NetworkReplicator.cpp
2024-11-22 16:31:18 +01:00
Wojtek Figat
9bf680cc1a Add multi-line string literal parsing inside custom api code injection blocks 2024-11-19 16:17:11 +01:00
Wojtek Figat
a7daf44330 Fix BitArray swap when using different allocators
Add unit test to ensure this works correctly.
2024-11-19 12:21:13 +01:00
Wojtek Figat
246944f688 Merge remote-tracking branch 'origin/master' into 1.10 2024-11-06 09:29:48 +01:00
Chandler Cox
2f4e673be3 Add test for nameless function arguments 2024-10-30 12:20:37 -05:00
Chandler Cox
8a31d1b54f Add test for trailing return. 2024-10-28 22:15:34 -05:00
Wojtek Figat
082d97248d Add unit test for DebugCommands 2024-10-27 15:22:57 +01:00
Wojtek Figat
1c2c010ddc Merge branch 'fix/nullable' of https://github.com/mtszkarbowiak/FlaxEngine into mtszkarbowiak-fix/nullable 2024-10-25 15:38:44 +02:00
Wojtek Figat
c3e31baa7a Merge remote-tracking branch 'origin/master' into 1.10 2024-10-24 19:35:43 +02:00
Chandler Cox
4d0ed01369 Add test case for field default values 2024-10-22 16:31:08 -05:00
Wojtek Figat
c94052513e Add object replication data cache and send via Reliable channel to reduce data transfer 2024-10-15 19:47:09 +02:00
Wojtek Figat
7e4d7743a4 Add Quaternion quantization for network stream
Reduced send rate by 56% in average. Identity quat is just 8-bits (flags)
Added tests with full-sphere rotation to ensure this works correctly.
2024-10-14 22:32:29 +02:00
Mateusz Karbowiak
eda4f433d0 Update TestNullable.cpp 2024-10-07 12:24:09 +02:00
Mateusz Karbowiak
cda74f5cc4 Nullable tests 2024-10-06 13:50:03 +02:00
Wojtek Figat
c42cc266f9 Add unit test for nested namespace type
#2626 #2914
2024-09-09 07:12:40 +02:00
Wojtek Figat
41fd7b724e Fix test build regression 2024-07-25 15:32:05 +02:00
Wojtek Figat
2cdd0ff644 Fix test compilation 2024-05-17 15:47:50 +02:00
Wojtek Figat
2529312152 Refactor Color.FromRGBA and add matching old logic Color.FromARGB
2592
2024-05-16 13:45:29 +02:00
Wojtek Figat
35ddfc2455 Add test case of nested types in scripting
#2582 #2591
2024-05-15 13:09:51 +02:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
976d0992df Fix DateTime::GetDate calculations
#2089 #2086
2024-01-05 11:13:41 +01:00
Wojtek Figat
e0a085adfe Add support for loading prefab instance if the root was changed or deleted
#2050
2023-12-14 10:47:22 +01:00
Wojtek Figat
3bf7b57dbd Fix BitArray::SetAll() when the item is not multiple of 8
#1863
2023-11-04 19:14:45 +01:00
Wojtek Figat
da72dd4806 Add unit test for HashSet and Dictionary collection types 2023-11-02 19:59:27 +01:00
9a7fb82738 Fix tests 2023-09-16 18:39:01 +03:00
Wojtek Figat
95922bb38b Fix compilation 2023-07-26 21:18:22 +02:00
Wojtek Figat
77daf85fc1 Add unit test for angles unwind math #1267 2023-07-26 19:31:43 +02:00
Wojtek Figat
7140c4a2d8 Merge remote-tracking branch 'origin/master' into 1.6 2023-06-11 21:38:20 +02:00
Wojtek Figat
60ddf0ea89 Add automated test for loading nested prefab with different root actor
#1138
2023-06-09 23:36:31 +02:00
Wojtek Figat
d29c2fc5af Add unit test for guid formatting 2023-05-09 17:32:44 +02:00
Wojtek Figat
a403c4d9ee Update fmt llibrary to version 9.1 (Aug 27, 2022) 2023-05-09 16:38:15 +02:00
Wojtek Figat
2cf70453f8 Add automated test for strings formatting and localization 2023-05-09 11:19:00 +02:00
Wojtek Figat
5a66e90b56 Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	.github/workflows/tests.yml
#	Source/Engine/Content/JsonAsset.cs
2023-05-07 19:46:29 +02:00
Wojtek Figat
dd7dc28828 Add automated unit test for nested prefab changes sync after base prefab apply #1015 2023-05-07 18:09:54 +02:00