Commit Graph

7651 Commits

Author SHA1 Message Date
jromnoa de41653d26 remove LY_PROJECTS check in Atom test registrations so that the targets build in project centric builds (#4581)
Signed-off-by: jromnoa <jromnoa@amazon.com>
2021-10-08 13:36:46 -07:00
lumberyard-employee-dm b7c2401056 Added a ThreadDispatch Policy to the EBus code (#4405)
* Added a ThreadDispatch Policy to the EBus code

The ThreadDispatch Policy can be configured by authors of an EBusTraits to
invoke a callback function after an EBus has finished it's dispatching
mechanism on a specific thread.

It takes into account recursive calls as well and will only invoke the
PostDispatch callback after all callstack entries for the current thread
are cleared.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Clang build fix

The Traits type is dependent on the template parameter, therefore the compiler needs to be told that the ThreadDispatchPolicy is a type and not a value.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Fixed DispatchLockGuard cxall in the TerrainWorldRendererComponent.cpp

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Added EBusTrait for configuring the DispatchLockGuard

Removed the ThreadPolicy trait, now that the DispatchLockGuard for the
EBus Context can be configured.

Used the DispatchLockGuard template along with the
IsInDispatchThisThread function to determine when an EBus has finished
dispatching on thread and released it's Context Mutex.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Tweaked comment format for the IsInDispatch function


Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Removed explicit GetContext call from ThreadDispatchTestBus.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Clang EBus Test fix for DispatchLockGuard trait

Due to the clang compiler evalating constants within templates at the time of declaration, the LocklessDispatch value supplied to the template was always false resulting in the LocklessDispatch feature always locking.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
2021-10-08 15:14:22 -05:00
Steve Pham 73f8537030 Fix Issue saving new assets in Asset Editor on Linux (#4537)
* Add helper function to apply a selected file filter from a file dialog to the result filename if needed
* Add platform traits to restrict the use of the helper function on platforms that need to apply it
* Fix building of file filters of multiple extensions for a file type

Signed-off-by: Steve Pham <spham@amazon.com>
2021-10-08 11:41:46 -07:00
Pip Potter 960edf857d LYN-4831: AWCore code cleanup pass, fixing issues with ResolvePath (#4538)
Signed-off-by: rppotter <rppotter@amazon.com>
2021-10-08 11:20:09 -07:00
Stephen Tramer 396edd22fb Merge pull request #4461 from aws-lumberyard-dev/LYN-7080_FixEditorServerConnectionRaceCondition
Fix EditorServer Connection
2021-10-08 11:07:52 -07:00
Junbo Liang a5cd1b55e4 Make the access log bucket optional in the AWSCore CDK application (#4553)
* Make the access log bucket optional in the AWSCore CDK application

Signed-off-by: Junbo Liang <junbo@amazon.com>
2021-10-08 10:37:50 -07:00
Guthrie Adams 5ff6e9951f Merge pull request #2904 from yuriy0/SkinnedMeshOutputStreamManager_deferred_buffer_init
Make the maximum amount of vmem available for skinning related things…
2021-10-08 11:26:47 -05:00
Terry Michaels 00b938b6a7 Merge pull request #4212 from ppinfel/component-doc-links
Fixes various component's help URL links to correct o3de.org page
2021-10-08 10:30:13 -05:00
Allen Jackson dcadfe6e1f Feature json assetloading assethints (#4554)
* capture assets using SerializedAssetTracker in LoadInstanceFromPrefabDom()
assign assets using asset hints where the asset ID is not valid
switch up SerializedAssetTracker to store pointers instead of copies of Asset<>

Signed-off-by: jackalbe <23512001+jackalbe@users.noreply.github.com>

* PoC for the AssetFixUp strategy


Signed-off-by: jackalbe <23512001+jackalbe@users.noreply.github.com>

* clean up of PoC

Signed-off-by: jackalbe <23512001+jackalbe@users.noreply.github.com>
2021-10-08 09:20:17 -05:00
FiniteStateGit 591854c384 Edit help menu lua documentation link (#4520) 2021-10-08 14:05:24 +01:00
hultonha 2fb4a9d2c3 Add xfail to test that failed in an unrelated development build (#4569)
Signed-off-by: hultonha <hultonha@amazon.co.uk>
2021-10-08 13:13:52 +01:00
Luis Sempé 6be8c9d622 Merge pull request #4516 from aws-lumberyard-dev/animation/dev/atomRenderViewport
1st check-in for atom render window.
2021-10-07 17:07:38 -07:00
Jeremy Ong e0a1164a92 Merge pull request #4424 from aws-lumberyard-dev/rgba16f/AZJobToIdle
Move Job system towards being used for Idle tasks
2021-10-07 17:31:05 -06:00
Qing Tao e64b9d3536 ATOM-16320 Remove PVRTC and ETC compressor (#4557)
Signed-off-by: Qing Tao <qingtao@amazon.com>
2021-10-07 16:23:13 -07:00
Chris Galvan 2496bc38b5 Merge pull request #4555 from aws-lumberyard-dev/cgalvan/CreateTemplatePreferSanitizedNameForCppFilesContent
Updated create-template logic to prefer the SanitizedCppName when running replacements on cpp file contents.
2021-10-07 18:22:22 -05:00
Chris Galvan 437a4d2d63 Updated engine template unit tests.
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
2021-10-07 17:38:54 -05:00
rhhong 38efd58173 Fix merging issue with camera input
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:54:30 -07:00
rgba16f 4b92aa34b7 Updated with PR feedback. Created a common function to calculate the number of worker threads.
Signed-off-by: rgba16f <82187279+rgba16f@users.noreply.github.com>
2021-10-07 16:49:34 -05:00
Tommy Walton 9686ff034f Merge remote-tracking branch 'upstream/development' into SkinnedMeshOutputStreamManager_deferred_buffer_init
Signed-off-by: Tommy Walton <waltont@amazon.com>
2021-10-07 14:22:10 -07:00
rhhong 4d2f65c4d8 code review feedback 2
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:39 -07:00
rhhong a448caea7c fix broken build
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:38 -07:00
rhhong 265d3792f0 fix broken build
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:36 -07:00
rhhong 5fca7ffd86 CR feedback
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:34 -07:00
rhhong 8897040315 Gems/EMotionFX/Assets/Editor/Layouts/Character2.layout
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:31 -07:00
rhhong 646369c1b5 update camera naming and behavior after the merge in
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:29 -07:00
rhhong 10febe2a4b Move some utility class and settings to a setting file.
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:27 -07:00
rhhong ffa637d115 Code cleanup
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:24 -07:00
rhhong 47a2240fc3 Using modular camera system to replace the camera entity.
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:21 -07:00
rhhong 09f9e5c6c3 CR feedback
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:19 -07:00
rhhong 82bfbd5c98 Add ability to load actor from the ui
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:16 -07:00
rhhong c463721b52 move the function setactorasset
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:13 -07:00
rhhong b7900bf646 render an actor
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:11 -07:00
rhhong d185338978 Code clean
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:08 -07:00
rhhong cda2bb9d4d Add anim viewport renderer
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:05 -07:00
rhhong c4a3162c85 CR feedback - code cleaning
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:20:00 -07:00
rhhong af9448d4ea delete auto moc header
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:19:55 -07:00
rhhong f2b449c4b9 Registering an empty atom render plugin in the emfxatom gem.
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:19:48 -07:00
rhhong a96b091d3f Add skeleton class for animviewportwidget.
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:18:21 -07:00
rhhong 975589c0c4 Add skeleton class for atom render plugin
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:18:16 -07:00
rhhong 4767d2a891 Fix unit test
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:18:10 -07:00
rhhong 5369df4195 remove extra line
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:16:46 -07:00
rhhong 0b49cc38a7 fix broken build
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:16:40 -07:00
rhhong 7650683902 Defer the nodeWindowPlugin reinit to main thread update. Set the actor file name through actor asset.
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:16:35 -07:00
Yuriy Toporovskyy bf38f07480 Allow buffer to take any size, including 0
Signed-off-by: Yuriy Toporovskyy <toporovskyy.y@gmail.com>
2021-10-07 14:16:33 -07:00
rhhong bc88d2b381 Address feedback from Chris. Simplified get asset call and etc.
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:16:30 -07:00
rhhong 42e748760d Loading actor in editor using asset system.
Signed-off-by: rhhong <rhhong@amazon.com>
2021-10-07 14:16:25 -07:00
Chris Galvan e1c02cc146 Updated cpp file extension check per PR feedback.
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
2021-10-07 15:32:57 -05:00
allisaurus 5f52664026 Add missing field labels to AWSMetrics node SubmitMetrics (#4534)
* Add missing field labels to AWSMetrics node SubmitMetrics
* Add periods to tooltips to be consistent w/ other metrics nodes

Signed-off-by: Stanko <stankoa@amazon.com>
2021-10-07 13:04:10 -07:00
Gene Walters 9b86749a83 Making sure unit tests using iMultiplayers implement the new AddServerAcceptance events; misc cleanup
Signed-off-by: Gene Walters <genewalt@amazon.com>
2021-10-07 13:01:05 -07:00
Olex Lozitskiy 0a5eb06fe9 Hierarchy imGui debugger, first pass
+ Lists the hierarchies around the default camera, with modifying awareness radius.
+ Debug overlay in the world over hierarchy root entities.
2021-10-07 15:34:50 -04:00