mbalfour
53a6e5ac6b
Addressed feedback.
2021-05-04 10:08:59 -05:00
mbalfour
5df82caef6
[LYN-3464] Vegetation unit tests intermittently failed due to an AssetManager bug. Inside the AssetContainer, if the root asset finished loading during the container initialization, the CheckReady() call at the end of initialization would detect the loaded asset, but would skip sending out notifications because the initialized flag wasn't set yet. This would lead to an extra asset reference remaining in the AssetManager itself, would would then cause errors when the asset handler for that asset got removed.
...
By setting the initialization flag before the CheckReady() call, the notifications get sent correctly, and no extra asset references remain. This checkin also includes a unit test for the AssetManager that specifically forces this condition to happen and validates that it works correctly.
2021-05-04 09:04:18 -05:00
AMZN-koppersr
6dfa33816b
Fixed a bug with type ids for inherited classes with a custom serializer.
...
The code that adds a $type field for pointers where needed was still assuming that custom serializer were always for primitives, which isn't the case anymore. This changes updates the behavior to allow $type to be added to those as well as long as they use an object. This does now however rely more heavily on earlier checks that the data needs a $type because it otherwise can't tell the difference between a primitive getting a default value (an empty object). In the original code this situation would have resulted in failed serialization though, so it's unlikely to be a problem.
2021-04-26 15:26:18 -07:00
Chris Burel
61fe298319
Merge pull request #197 from aws-lumberyard-dev/filesEndInNewlines
...
Add newlines to the end of all files
2021-04-23 12:11:40 -07:00
Chris Burel
28170ffe41
Add newlines to the end of all files
2021-04-23 09:43:40 -07:00
amzn-mike
d25179303d
Add jira ticket for disabled tests
2021-04-23 10:50:58 -05:00
amzn-mike
c61b244416
Use a const to toggle asset cancellation on and off
2021-04-23 09:56:59 -05:00
amzn-mike
9e2836613f
Merge branch 'main' into amzn-mike/lyn-2249-disable-cancel
2021-04-22 15:38:32 -05:00
amzn-mike
58e8233c2c
Remove debug message
2021-04-22 15:27:16 -05:00
amzn-mike
0428189bed
Increase test difficulty
2021-04-22 15:18:54 -05:00
amzn-mike
35a47932eb
Disable weak references and unit tests for them.
2021-04-22 15:02:41 -05:00
Terry Michaels
d680995074
Renamed several non-inclusive terms ( #236 )
2021-04-22 13:31:26 -05:00
amzn-mike
3907ffc173
Add unit test
2021-04-22 12:01:21 -05:00
greerdv
12cbba5fad
adding test for Aabb::MultiplyByScale
2021-04-20 17:42:38 +01:00
greerdv
e497b7ac33
Merge branch 'main' into non-uniform-scale-mesh
2021-04-19 11:05:10 +01:00
greerdv
d8169e08fb
merging from main
2021-04-15 08:18:11 +01:00
greerdv
217009de2b
adding tests for transforming Aabb with Matrix3x4 and fixing bug in implementation
2021-04-14 18:25:38 +01:00
hultonha
9c8fd1f9e4
Merge branch 'main' into hultonha_LYN-2528_whitebox_prefab
2021-04-14 12:31:57 +01:00
hultonha
e1e746066d
add some preliminary tests for ByteStreamSerializer
2021-04-14 12:04:23 +01:00
alexpete
8469c9ca0a
Integrating github/staging through commit 5f214be
2021-04-13 17:18:57 -07:00
alexpete
1044dc3da1
Integrating github/staging through commit ab87ed9
2021-04-09 11:27:37 -07:00
alexpete
c2cbd430fe
Integrating up through commit 90f050496
2021-04-07 14:03:29 -07:00
alexpete
36c4e827bd
Integrating latest from github/staging
...
Integrating up through commit 5e1bdae
2021-03-26 14:32:02 -07:00
alexpete
75dc720198
Integrating latest 47acbe8
2021-03-25 13:57:57 -07:00
alexpete
a10351f38d
Initial commit
2021-03-08 14:30:57 -08:00