Commit Graph

4866 Commits

Author SHA1 Message Date
greerdv 1e2cf9c8d2 merge from development
Signed-off-by: greerdv <greerdv@amazon.com>
2021-07-16 14:47:11 +01:00
hultonha d55f1b748d Merge pull request #2136 from aws-lumberyard-dev/hultonha_LY-69118_lambda_crash
Update MSVC to use new lambda processing
2021-07-16 12:55:29 +01:00
Benjamin Jillich d16b810075 Transform node animations ignored (#2160)
* Fixing user asset issue having a transform node as root rather than a bone making the whole character not animate.
* Enabled the ability to export animations for transform nodes.

Signed-off-by: Benjamin Jillich <jillich@amazon.com>
2021-07-16 13:47:47 +02:00
hultonha 18eba48429 Merge pull request #2195 from aws-lumberyard-dev/MuteAudioButtonMightBeBroken
Change the way the Mute Audio button works depending on the Gem availability
2021-07-16 12:02:47 +01:00
hultonha 5a0c1fab9f Merge remote-tracking branch 'upstream/development' into hultonha_LY-69118_lambda_crash
Signed-off-by: hultonha <hultonha@amazon.co.uk>
2021-07-16 10:30:37 +01:00
Benjamin Jillich 27407540c7 Cleaning motion asset infos (#2197)
* Removing a bunch of legacy files.
* Removing asset info files containing legacy data.

Signed-off-by: Benjamin Jillich <jillich@amazon.com>
2021-07-16 10:19:38 +02:00
John Jones-Steele 2170e1f0a5 Merge branch 'development' into MuteAudioButtonMightBeBroken
Signed-off-by: John Jones-Steele <jjjoness@amazon.com>
2021-07-16 09:15:13 +01:00
Luis Sempé 8827e3a2f2 Merge pull request #2170 from aws-lumberyard-dev/scripting/fix_gridhub
Removed editor specialization from GridHub, it does not need the gems…
2021-07-15 17:53:14 -07:00
Esteban Papp 3771ba80a4 Combine Framework.Tests and AzToolsFramework.Tests targets into one target
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
2021-07-15 16:57:15 -07:00
Royal OBrien 1061e17b36 Merge pull request #2112 from AMZN-scspaldi/scspaldi_cleanupLuaWindow
Added Lua Editor window to kill process list.
2021-07-15 19:03:36 -04:00
lsemp3d 8262a5f8e5 Merge remote-tracking branch 'upstream/development' into scripting/fix_gridhub 2021-07-15 16:01:35 -07:00
Esteban Papp 900b82cb36 missing dependencies
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
2021-07-15 15:06:47 -07:00
moudgils 7ef383580e Metal sync interval support (#2187)
* Metal sync interval support
Add shader name to SRGPool for debugging purposes
Set default value of rpi_vsync_interval to 1

Signed-off-by: moudgils <moudgils@amazon.com>
2021-07-15 11:50:19 -07:00
Esteban Papp 087c9f6edb more fixes for Jenkins vs local behavior
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
2021-07-15 11:40:34 -07:00
John Jones-Steele 45f85bb384 Merge branch 'development' into MuteAudioButtonMightBeBroken
Signed-off-by: John Jones-Steele <jjjoness@amazon.com>
2021-07-15 18:22:02 +01:00
Esteban Papp 4aebea61af Fixes for Jenkins
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
2021-07-15 09:42:02 -07:00
Luis Sempé d1227d1836 Merge pull request #2186 from aws-lumberyard-dev/scripting/luaide
Fixed Lua class enumeration, there was a crash when traversing into methods
2021-07-15 09:27:03 -07:00
John Jones-Steele 3b419c02e6 CHange the way the Mute Audio button works depending on the Gem availability
Signed-off-by: John Jones-Steele <jjjoness@amazon.com>
2021-07-15 13:42:02 +01:00
greerdv 9c1d66f61f improve translations for physics types in Script Canvas
Signed-off-by: greerdv <greerdv@amazon.com>
2021-07-15 13:07:34 +01:00
Benjamin Jillich 0863a24490 Revert "[MeshOptimizer] Determine the original vertex index based on the position (#2008)" (#2188)
This reverts commit a077a88d3f due to assets failing on Jenkins.

Signed-off-by: Benjamin Jillich <jillich@amazon.com>
2021-07-15 12:18:10 +02:00
hultonha 2c9922d4b5 Merge remote-tracking branch 'upstream/development' into hultonha_LY-69118_lambda_crash 2021-07-15 09:28:47 +01:00
Chris Burel a077a88d3f [MeshOptimizer] Determine the original vertex index based on the position (#2008)
* Determine the original vertex index based on the position

The Assimp library does not expose the FBX control point indices. This
change causes vertices that are close enough in their position to be
considered as coming from the same control point. This allows the mesh
optimizer to consider vertices with the same control point index (or
"original vertex index" as it is called in the code) for deduplication.

Signed-off-by: Chris Burel <burelc@amazon.com>

* Use a filter view instead of reimplementing a filter view

Signed-off-by: Chris Burel <burelc@amazon.com>

* Don't attempt to weld similar vertices if there's blendshapes

Signed-off-by: Chris Burel <burelc@amazon.com>

* Add test for the mesh optimizer's ability to weld nearby vertices

Signed-off-by: Chris Burel <burelc@amazon.com>

* Add logging call to show mesh optimizer effect on vertex count

Signed-off-by: Chris Burel <burelc@amazon.com>

* Use a bunch of temporaries in order to make `position` `const`

Signed-off-by: Chris Burel <burelc@amazon.com>

* Supply the vertex index remapping to the optimized skin weights

This ensures that the optimized skin weights use the vertex indexes from
the optimized mesh

Signed-off-by: Chris Burel <burelc@amazon.com>
2021-07-15 08:44:40 +02:00
lsemp3d 104e0f73bf Fixed Lua class enumeration, there was a crash when traversing into methods
Signed-off-by: lsemp3d <58790905+lsemp3d@users.noreply.github.com>
2021-07-14 23:39:48 -05:00
Esteban Papp ae46eea1e8 Fix tests in Linux and discover path comparison problem in Windows (fixed)
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
2021-07-14 20:24:15 -07:00
SJ 7eeaf7dad5 Generate install layout for Mac (#2144)
* 1. Move call to install(TARGETS...) to its own function to create a platform specific implementation for Mac.
2. Add linker-signed flag to work around cmake install issue.

Signed-off-by: amzn-sj <srikkant@amazon.com>

* Add newline

Signed-off-by: amzn-sj <srikkant@amazon.com>

* 1. Rename function to ly_install_target_override and only call it if it has been implemented.
2. Pass in runtime, archive, and library directory paths as params to clean it up a bit.

Signed-off-by: amzn-sj <srikkant@amazon.com>
2021-07-14 17:32:07 -07:00
Sean Sweeney 9e81cedf80 Merge pull request #1979 from aws-lumberyard-dev/system_test_example_update
System test example update
2021-07-14 16:59:01 -07:00
Esteban Papp 4a5ac0e204 Fix for ArchiveTest where the assets alias was not being set
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
2021-07-14 16:45:36 -07:00
bosnichd 72ea2ca1b4 Change the InputDeviceImplementationRequest to be addressable by an InputDevcieId to account for the situation where someone may want to swap out the implementation for a single instance of a devcie type rather than all instances of that device type (the latter can still be achieved using Broadcast instead of Event when calling the EBus method). (#2180)
Signed-off-by: bosnichd <bosnichd@amazon.com>
2021-07-14 17:44:44 -06:00
Nicholas Van Sickle 67ea31363d Fix gesture recognizer spamming errors when clicking the mouse (#2181)
The synthetic input devices created by the Qt -> AZ input system were being detected by the gesture recognizer, which confused it - this is a potential general issue for anything listening to the AZ input system out of game mode, but this is the only recorded issue so far. I've added a check in this case to ensure the event comes from the real, physical mouse device instead of one of our synthetic ones, stopping the spam.

Signed-off-by: nvsickle <nvsickle@amazon.com>
2021-07-14 17:22:08 -06:00
michabr a872111ca5 Fix LyShine bus attempt to connect twice (#2175)
Signed-off-by: abrmich <abrmich@amazon.com>
2021-07-14 15:57:16 -07:00
michabr 59e9f10853 Split LyShine .Editor target to .Tools and .Builders (#2161)
* Split LyShine .Editor target to .Tools and .Builders

Signed-off-by: abrmich <abrmich@amazon.com>

* Fix compile error for Tests target

Signed-off-by: abrmich <abrmich@amazon.com>
2021-07-14 15:57:02 -07:00
Brian Herrera f655ce4ba6 Merge pull request #2114 from aws-lumberyard-dev/SPEC-7510
[SPEC-7510] Remove unnecessary static container for AWSCore scriptcanvas nodes
2021-07-14 15:20:04 -07:00
Esteban Papp 24831b1970 Code review changes
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
2021-07-14 14:54:57 -07:00
Esteban Papp d8ac5654d2 Merge branch 'development' into cleanup/SPEC-1670 2021-07-14 14:53:59 -07:00
galibzon 32a2796620 [ATOM-15978] ShaderVariantAssetBuilder needs to fill up ShaderPlatformInterface::m_srgLayouts for Metal (#2156)
ShaderVariantAssetBuilder builds SRG Layout data only for Metal.

Signed-off-by: garrieta <garrieta@amazon.com>
2021-07-14 15:38:08 -05:00
rgba16f e32b7a7c87 Mac m1 fixes (#2150)
* Update the Mac Editor plist application bundle identifier to be different than Lumberyard
Fix the editor to have runtime dependencies on the scene modules.

Signed-off-by: rgba16f <82187279+rgba16f@users.noreply.github.com>

* Fix Metal RHI calling unsupported timestamp query api on M1 Macs.
Add Query for Timestamps supported on device initialization.

Signed-off-by: rgba16f <82187279+rgba16f@users.noreply.github.com>

* Remove AZ::Scene* runtime dependencies from EmotionFX gem and add AZ::SceneUI as a runtime dependency of SceneProcessing::Editor module.

Signed-off-by: rgba16f <82187279+rgba16f@users.noreply.github.com>
2021-07-14 13:14:42 -07:00
jackalbe ffcfa44b49 {LYN-4514} Engine updates to enable PAB for the Blast Gem (#2140)
* {LYN-4514} Engine updates to enable PAB for the Blast Gem

* Engine updates to enable Python Asset Building for the Blast Gem
* added API to detect IsPythonActive()
* ExportProductList behavior
* scene manifest usage of generated assetinfo
* updated ScriptProcessorRuleBehavior to handle OnPrepareForExport

Tests: new tests for scene behavior via ExportProduct

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

* updated base on PR feedback
added more comments for IsPythonActive()
added a serializeContext for export product list

Signed-off-by: Jackson <23512001+jackalbe@users.noreply.github.com>
2021-07-14 14:54:22 -05:00
amzn-sean 8f706c09d6 update sc that is used in physics tests to use the 'PhysicsSystemInterface' instead of 'System Interface' (#2162)
Signed-off-by: amzn-sean <75276488+amzn-sean@users.noreply.github.com>
2021-07-14 20:16:56 +01:00
luissemp 5619e0f294 Removed editor specialization from GridHub, it does not need the gems loaded
Signed-off-by: luissemp <luissemp@amazon.com>
2021-07-14 12:10:17 -07:00
Chris Galvan a5b0f1f710 Merge pull request #2163 from aws-lumberyard-dev/cgalvan/SaveCameraChangesWhenBeThisCamera
Use the proper undo sequence so that viewport camera changes are saved properly.
2021-07-14 14:08:44 -05:00
AMZN-tpeng d6d644501a [ATOM][RHI][Vulkan][Android] - Fix sample count validation error for android. (#2145)
ATOM-15755

Signed-off-by: Tony Peng <tonypeng@amazon.com>
Signed-off-by: Peng <tonypeng@amazon.com>
2021-07-14 12:22:49 -05:00
AMZN-tpeng cd819062f9 [ATOM][RHI][Vulkan][Android] - use bit conversion from enum to check for gpu query type support (#2141)
ATOM-15742

Signed-off-by: Tony Peng <tonypeng@amazon.com>
Signed-off-by: Peng <tonypeng@amazon.com>
2021-07-14 12:20:39 -05:00
Chris Galvan 8f4ded8c64 Use the proper undo sequence so that viewport camera changes are saved properly.
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
2021-07-14 12:10:49 -05:00
Scott Romero acd5546503 [development] update mobile settings editor tool to support new project path structure (#2147)
Fixes #2087

Signed-off-by: AMZN-ScottR 24445312+AMZN-ScottR@users.noreply.github.com
2021-07-14 09:41:46 -07:00
Chris Galvan 1a74bcc836 Merge pull request #1912 from aws-lumberyard-dev/jckand/DynVegXfailFixes
Updating/re-enabling skipped/xfailed Dynamic Vegetation automated tests
2021-07-14 11:36:31 -05:00
jckand-amzn 9fcc9f7b41 Merge branch 'development' of https://github.com/o3de/o3de into jckand/DynVegXfailFixes 2021-07-14 09:56:07 -05:00
hultonha f8a80468ab remove structured binding from lambda to workaround msvc bug
Signed-off-by: hultonha <hultonha@amazon.co.uk>
2021-07-14 13:13:28 +01:00
hultonha d69897fd86 add [[maybe_unused]] attribute to prevent innocuous warning
Signed-off-by: hultonha <hultonha@amazon.co.uk>
2021-07-14 10:33:39 +01:00
hultonha 9fb0e751a8 Merge remote-tracking branch 'upstream/development' into hultonha_LY-69118_lambda_crash
Signed-off-by: hultonha <hultonha@amazon.co.uk>
2021-07-14 09:19:24 +01:00
Benjamin Jillich 3ea3d7a436 Data integrity issue, keyframe times need to be ascending (#2130)
* User provided animation resulted in a data integrity error.
* The first track had 0.66 as max time while another had a keyframe more resulting in 0.69.
* When updating the duration before fixing up the last keyframe for each of the tracks, the duration was returned early with 0.66 while there were other tracks having a keyframe more.
* We're now crawling through all tracks to determine the maximum duration.
* This results in a correct fixup of the last frame.

Signed-off-by: Benjamin Jillich <jillich@amazon.com>
2021-07-14 08:52:52 +02:00