Commit Graph

2914 Commits

Author SHA1 Message Date
amzn-sean 2a53f018fa Merge pull request #70 from aws-lumberyard-dev/physx_system_comp
SystemComponent is now only built once in the PhysX.Static target
2021-04-16 14:04:00 +01:00
hultonha 102a0e5dc8 Merge branch 'main' into hultonha_LYN-2528_whitebox_prefab 2021-04-16 12:04:14 +01:00
hasareej 969f94ffb5 Initial pass of ViewportUiSwitcher. 2021-04-16 10:27:13 +01:00
sphrose fece27b1b0 Merge branch 'main' into LY-113714 2021-04-16 10:00:04 +01:00
greerdv a757d327a0 Merge branch 'main' into non-uniform-scale-visibility 2021-04-16 09:57:04 +01:00
mcgarrah bff55bd688 LYN-2726 Updated the Settings Registry Merge Utils logic to determine
the project root and engine root to fix issues with running the Editor
or AssetProcessor from within the project folder overriding the
project_path with the engine root bootstrap.cfg project_path entry

The order in which the project path is overridden as follows
1. The <engine-root>/bootstrap.cfg is first merged into the Settings
   Registry. Any '/Amazon/AzCore/Bootstrap/project_path' would be used
   if the following steps don't override that key.
2. Followed by general *.setreg/*.setregpatch files being merged into
   the Settings Registry which can override the
   '/Amazon/AzCore/Bootstrap/project_path' key
3. Next a project.json file searched upwards from the current executable
   directory to determine the project path
4. Finally if a command line parameter that overrides the project path
   is supplied it is used instead
2021-04-15 22:40:58 -05:00
srikappa 1cf2e11cd3 Merge branch 'main' into Prefab/CreatePrefab 2021-04-15 19:00:28 -07:00
srikappa 0b29e4ffea Merge branch 'main' into Prefab/CreatePrefab 2021-04-15 18:47:17 -07:00
srikappa 778d60bd0c Replaced unique instance queue with checks in template to instance mapper 2021-04-15 18:45:48 -07:00
karlberg 8074e0fb18 Remove formal template parameter name to resolve shadowed variable warning on clang 2021-04-15 17:56:08 -07:00
karlberg 0ce18593d2 Merging latest main 2021-04-15 17:40:21 -07:00
kberg-amzn c2f9019f7c Merge pull request #65 from aws-lumberyard-dev/MultiplayerComponents
Multiplayer components
2021-04-15 16:30:36 -07:00
pereslav 4962218d29 Refactored root spawnable instantiation, added selective instantiation of root spawnable entities 2021-04-16 00:19:43 +01:00
srikappa-amzn 76af009190 Merge pull request #72 from aws-lumberyard-dev/Prefab/RelativePathForNewPrefabs
Make creation of new prefabs use a relative path to the project
2021-04-15 13:20:18 -07:00
Terry Michaels 020d7801bb Make sure Recent Files list is correctly enabled/disabled when the list changes (#73)
Make sure Recent Files list is correctly enabled/disabled when the recent files list changes
2021-04-15 14:28:57 -05:00
pereslav a5fdbddeda Merged MultiplayerPipeline from CodeCommit 2021-04-15 20:24:50 +01:00
srikappa c63f09adce Merge branch 'main' into Prefab/CreatePrefab 2021-04-15 11:08:27 -07:00
srikappa 4da29a09d2 Merge branch 'main' into Prefab/RelativePathForNewPrefabs 2021-04-15 11:01:15 -07:00
hultonha 9d84fdcb23 Merge branch 'main' into hultonha_LYN-2528_whitebox_prefab 2021-04-15 18:26:54 +01:00
greerdv 3bbef11d15 Merge branch 'main' into non-uniform-scale-visibility 2021-04-15 14:17:11 +01:00
greerdv 10ab7666db Merge branch 'main' into limit_max_scale 2021-04-15 13:44:53 +01:00
amzn-sean 23cf2d5d68 SystemComponent is now only build in PhysX.Static, instead of most of the Physx projects. 2021-04-15 12:24:48 +01:00
hultonha 7c5f7181eb updates following review feedback - remove explicit resize and update concrete type to alias 2021-04-15 10:32:46 +01:00
greerdv 4c582a2b0a Merge branch 'main' into non-uniform-scale-mesh 2021-04-15 08:29:57 +01:00
greerdv d8169e08fb merging from main 2021-04-15 08:18:11 +01:00
srikappa b6492121ca Merge branch 'main' into Prefab/CreatePrefab 2021-04-15 00:07:29 -07:00
srikappa 2410d299c1 Make creation of new prefabs use a relative path to the project 2021-04-14 17:51:15 -07:00
karlberg 88120999f9 Merge remote-tracking branch 'origin' into MultiplayerComponents 2021-04-14 17:47:58 -07:00
srikappa a371edd07f Initial commit of CreatePrefab work 2021-04-14 17:26:14 -07:00
Nicholas Van Sickle 7484a983b8 Merge pull request #51 from aws-lumberyard-dev/nvsickle/EnableAtomViewport
Switch on the Atom-native viewport by default
2021-04-14 15:47:56 -07:00
SergeyAMZN 828bedf7a9 Merge pull request #38 from aws-lumberyard-dev/MultiplayerPipeline
Fixed dangling pointer in InitializeCatalog
2021-04-14 22:59:39 +01:00
Chris Galvan 0f13a71bd2 [LYN-2255] Refactored some EditorEntityHelpers so they can be re-used. 2021-04-14 16:01:26 -05:00
Esteban Papp 90ad9f5141 SPEC-6266 Release Mode time sampling with AZ_TRACE_METHOD 2021-04-14 12:14:38 -07:00
nvsickle bf0db7a3c6 Merge remote-tracking branch 'upstream/main' into nvsickle/EnableAtomViewport 2021-04-14 10:47:18 -07:00
greerdv 217009de2b adding tests for transforming Aabb with Matrix3x4 and fixing bug in implementation 2021-04-14 18:25:38 +01:00
Mike Balfour efe5715e68 Merge branch 'main' into mbalfour/spec-6178 2021-04-14 12:07:58 -05:00
sphrose a947007861 Darken line 2021-04-14 15:15:42 +01:00
jackalbe a7a22bfcc0 Merge branch 'main' into sceneapi_script_autotest 2021-04-14 08:32:59 -05:00
greerdv 2fb2813b48 updating atom mesh component to support non-uniform scale component 2021-04-14 14:05:59 +01:00
pereslav 59252235d5 Fixed dangling pointer in InitializeCatalog 2021-04-14 13:13:01 +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
hultonha 2655aaa633 update ByteStreamSerializer to use Base64 encoding 2021-04-14 11:30:40 +01:00
karlberg ca3df5d6c8 Various bug fixes to get entity replication working 2021-04-13 20:24:08 -07:00
alexpete 8469c9ca0a Integrating github/staging through commit 5f214be 2021-04-13 17:18:57 -07:00
mbalfour d7f10e9d60 [LYN-2878] Attempt to fix deadlocks that occur when the Editor loads surface tag assets.
I wasn't able to reproduce the deadlock, but from the reported callstack, the following lock inversion happens:
* EditorSurfaceDataSystemComponent::OnCatalogLoaded locked the AssetCatalogRequestBus mutex by calling EnumerateAssets, and then locked m_assetMutex inside GetAsset->FindOrCreateAsset inside the enumerate callback.
* Loading threads would lock m_assetMutex in AssetManager::ValidateAndRegisterAssetLoading, then lock the AssetCatalogRequestBus inside the Asset<T> copy constructor when calling UpdateDebugStatus when the constructor calls SetData->UpgradeAssetInfo->UpdateAssetInfo->AssetCatalogRequestBus::GetAssetInfoById

This should solve the lock inversion on both sides of the problem:
* UpdateDebugStatus now takes in a const ref instead of a copy, so the copy constructor isn't called.
* EditorSurfaceDataSystemComponent::OnCatalogLoaded is rewritten to call GetAsset outside of the enumeration call.

As a bonus, this also removes the blocking load call.  The rest of the code already supports asynchronous refreshes as the list assets are added / modified / removed, so this code was changed to leverage the asynchronous refreshes as well.
2021-04-13 15:38:48 -05:00
nvsickle f6e98d5014 Fix viewport context menu hiding cursor and sometimes popping up repeatedly 2021-04-13 11:08:22 -07:00
sphrose a71a5746cc [LY-113714]
Jira: LY-113714
https://jira.agscollab.com/browse/LY-113714
2021-04-13 17:15:10 +01:00
hultonha 063b8a6d54 update some reinterpret_cast calls to static_cast 2021-04-13 12:16:55 +01:00
hultonha 8846e159e0 Add new ByteStream serializer to support storing binary data in json (for now) 2021-04-13 11:54:22 +01:00