Commit Graph

5175 Commits

Author SHA1 Message Date
AMZN-Olex 59f65f2656 Refactored to store entities by entity ids
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
2021-07-26 23:45:09 -04:00
AMZN-Olex a2f3066fa3 Imgui per entity works
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
2021-07-26 21:59:19 -04:00
AMZN-Olex f29fd86a39 More converstion in progress
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
2021-07-26 19:11:28 -04:00
AMZN-Olex 46777b537e Brought over LY legacy imgui code
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
2021-07-26 18:01:14 -04:00
bosnichd 90e45a5bbd Barrier (formerly Synergy) Input Gem (#2336)
Synergy (now Barrier) input was lost when we removed the CryLegacy Gem. This resurrects the code, updates it to work with Barrier (which is the open source project based on the original Synergy core), and updates it to be more conformant with the AzFramework Input framework.

Notes:

- The majority of code in BarrierInputClient.cpp is still largely unmodified from the original Cry drop and could use some love to make it more robust, but it works so at least gives us somewhere to start.
- The current iteration replaces the host platform's default mouse/keyboard implementation upon creation of the BarrierInputClient, and if the connection fails or is later lost we don't restore the default implementations which we should for a better use experience. On a related note, for some use cases it would be better to create additional mouse/keyboard input devices (that use the Barrier implementations) in addition to the existing devices (that use the host platform's default implementation), however this would mean that any system assuming only one mouse/keyboard device exists would not work with the additional Barrier input devices. We can iterate on both of the above issues in the future as needed, perhaps providing configurable options to control the behaviour.

Signed-off-by: bosnichd <bosnichd@amazon.com>
2021-07-26 12:19:00 -06:00
AMZN-nggieber d5b9d203ea Check for minimum VS subversion and link to workload install instructions for VS (#2398)
Signed-off-by: nggieber <nggieber@amazon.com>
2021-07-26 20:09:32 +02:00
Royal OBrien a12defcb30 Merge pull request #2364 from AMZN-scspaldi/scspaldi_LyTTTestsforLinux
Made LyTT Tests check if they are disabled for the platform.
2021-07-26 13:35:30 -04:00
jiaweig 24db0c82eb fix the assert from incorrect size calculation (#2404)
Signed-off-by: jiaweig <jiaweig@amazon.com>
2021-07-26 10:17:35 -07:00
Terry Michaels c390c84586 Merge pull request #2387 from aws-lumberyard-dev/TruncateNumericalValuesCorrectly
Fixed number truncation in displayed values
2021-07-26 11:34:58 -05:00
John Jones-Steele 73706fa04e Added Tests to check code is correct
Signed-off-by: John Jones-Steele <jjjoness@amazon.com>
2021-07-26 16:10:21 +01:00
amzn-sean 3ade098742 support node switching in a pipe (#2345)
Signed-off-by: amzn-sean <75276488+amzn-sean@users.noreply.github.com>
2021-07-26 11:16:13 +01:00
John Jones-Steele 57fa1109c6 Merge branch 'development' into TruncateNumericalValuesCorrectly
Signed-off-by: John Jones-Steele <jjjoness@amazon.com>
2021-07-26 09:19:41 +01:00
Benjamin Jillich 8f35def25b AssImp skeleton import improvements (#2348)
* Disabled to skip exporting a node in case there are child bones underneath, this broke motion extraction as we skipped the motion extraction node.
* Added several helper methods for getting the local space bind pose transform, finding all bones, getting the first bone for a given node name and a recursive has child bones.
* Unified the cloned get all bone methods.

Signed-off-by: Benjamin Jillich <jillich@amazon.com>
2021-07-26 08:39:02 +02:00
Esteban Papp f3a5e9d948 changing type that was coming from a cry header (#2397)
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
2021-07-23 15:50:27 -07:00
Junbo Liang c8b55af401 [AWS][Metrics] Resource names are too long leading to CDK deployment failures (#2291)
Sanitize resource names to prevent AWS resource failures.
2021-07-23 11:33:11 -07:00
Junbo Liang 5b8b51924a [AWS][AppSec][Medium] Bucket logging not enabled in sample template (#2243)
Add S3 bucket logging not enabled in sample template
2021-07-23 10:29:03 -07:00
Chris Burel 1e10ee61ba [MeshOptimizer] Return the correct size from the position map when there are blendshapes (#2391)
The previous version returned the incorrect size from the position map when
blendshapes are present in the model. When there are blendshapes, the
vertex welding is disabled, and nothing is inserted into the position map.
However, the position map's size was being used to dictate how many
elements to create in the skinning info. The skinning info tries to
compensate for an incorrect max vertex index by resizing its underlying
vector when adding an influence, but that was using the index as the new
size of the vector, so it was off by one. This fixes both errors.

Signed-off-by: Chris Burel <burelc@amazon.com>
2021-07-23 19:13:53 +02:00
Luis Sempé 3eed9af252 Merge pull request #2379 from aws-lumberyard-dev/scripting/combo_box_fix
Script Canvas: Fixed Scope and Initial Value selection boxes
2021-07-23 10:11:13 -07:00
SergeyAMZN bee2b8831f Merge pull request #1941 from aws-lumberyard-dev/networking-autogen
Fix autogen template RewindableObject construction for linux platform
2021-07-23 18:08:49 +01:00
John Jones-Steele b1922fe95e Changed comment to reflect PR
Signed-off-by: John Jones-Steele <jjjoness@amazon.com>
2021-07-23 15:26:38 +01:00
John Jones-Steele a33bc107be Fixed number truncation in deisplayed values
Signed-off-by: John Jones-Steele <jjjoness@amazon.com>
2021-07-23 10:58:36 +01:00
moraaar 1a407d9a08 Debug Trace Messages for Automation queues bus calls. (#2328)
Since TraceMessageBus will be called from multiple threads and python interpreter is single threaded, all the bus calls are queued into a list and called at the end of the frame in the main thread.

Signed-off-by: moraaar <moraaar@amazon.com>
2021-07-23 08:40:03 +01:00
hultonha 4268376587 Ensure camera system correctly consumes events when it is active (#2346)
* add typename for struct initializer

Signed-off-by: hultonha <hultonha@amazon.co.uk>

* fix for ensuring while the camera is 'active', events are consumed and not propagated

Signed-off-by: hultonha <hultonha@amazon.co.uk>

* refactor how we decide which priority to repsond to events to

Signed-off-by: hultonha <hultonha@amazon.co.uk>

* also -> only

Signed-off-by: hultonha <hultonha@amazon.co.uk>
2021-07-23 08:52:44 +02:00
onecent1101 85c403ea06 Remove =
Signed-off-by: onecent1101 <liug@amazon.com>
2021-07-22 18:10:54 -07:00
onecent1101 d7627c05f6 Fix autogen template RewindableObject construction for linux platform
Signed-off-by: onecent1101 <liug@amazon.com>
2021-07-22 18:10:50 -07:00
lsemp3d 9a4a7bc156 Script Canvas: Fixed Scope and Initial Value selection boxes
Signed-off-by: lsemp3d <58790905+lsemp3d@users.noreply.github.com>
2021-07-22 17:19:29 -07:00
Steve Pham 62356b811f Non unity compile fixes (#2365)
* Add missing RTTI include to fix non-unity build error
* Add missing includes that were automatically added as part of unity builds

Signed-off-by: Steve Pham <spham@amazon.com>
2021-07-22 17:01:01 -07:00
Esteban Papp 70c9ed93f8 Make locations for LY_PACKAGE_DOWNLOAD_CACHE_LOCATION and LY_PACKAGE_UNPACK_LOCATION relative to LY_3RDPARTY_PATH across configurations (#2360)
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
2021-07-22 16:42:51 -07:00
Chris Galvan 3f044b10c1 Merge pull request #2366 from aws-lumberyard-dev/cgalvan/RemoveSliceMenuOptionsFromRPEWhenPrefabsEnabled
Removed slice based context menu options from the RPE when prefabs are enabled.
2021-07-22 16:54:11 -05:00
Ken Pruiksma 4fa4ad27db Fixing missing definition of GpuCrashTracker for Aftermath. (#2354)
Recently some changes were made to pch, and this was probably missed. This will just include the file directly when Aftermath is enabled.

Signed-off-by: Ken Pruiksma <pruiksma@amazon.com>
2021-07-22 16:01:50 -05:00
Chris Galvan 90ef2ba13f Removed slice based context menu options from the RPE when prefabs are enabled.
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
2021-07-22 15:21:08 -05:00
scspaldi 2de3a5e6d7 Made LyTT Tests check if they are disabled for the platform.
Signed-off-by: scspaldi <scspaldi@amazon.com>
2021-07-22 12:59:19 -07:00
Chris Galvan e6927ffc14 Merge pull request #2359 from aws-lumberyard-dev/cgalvan/ImproveAutoResizingOfDialogs
Improved auto-resizing when centering dialogs when they are first displayed.
2021-07-22 14:49:43 -05:00
Chris Galvan 75b2437a2d Merge pull request #2356 from aws-lumberyard-dev/cgalvan/ProjectManagerSaveRestoreWindowGeometry
Fixed Project Manager to enable save/restore of the window geometry.
2021-07-22 13:48:10 -05:00
Esteban Papp a007f1a462 Issues/2126 PhysX Gem can't be used as build dependency in engine SDK Part (#2337) (#2340)
* Applying GENEX_EVAL to 2 cases where the genex can produce another genex

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>

* Missing case when the folder is an external one to the engine/project (e.g. external gems)

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
2021-07-22 11:20:58 -07:00
moudgils 5ad0cac085 Deleting a missed file from a previous PR (#2350)
Signed-off-by: moudgils <moudgils@amazon.com>
2021-07-22 10:57:30 -07:00
Chris Galvan 8cf7f8ed7b Update to check both width and height at the same time.
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
2021-07-22 12:49:51 -05:00
Chris Galvan ce3b9e2917 Improved auto-resizing when centering dialogs when they are first displayed.
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
2021-07-22 12:34:41 -05:00
Steve Pham 4d5a985276 Enable AZSLc and Shader Compilation on Linux (#2338)
* Enable Shader Compilation support for Linux
* Add azslc package 3P definition for download
* Add AzslcGeader.azsli nad PlatformHeader.hlsli for Linux/Null and Linux/Vulkan (Copy of Android/Vulkan)
* Enable trait PAL_TRAIT_BUILD_ATOM_ASSET_SHADER_SUPPORTED for Linux
* Add platform builder file dependencies
* Updated AZ_TRAIT_ATOM_SHADERBUILDER_AZSLC to use new 3P linux version of azslc
* Add AtomShaderCapabilities.json, PlatformLimits.azasset for Linux (Copy from Android)
* Fix paths/values for Vulkan_Traits_Linux.h
* Enable trait PAL_TRAIT_BUILD_ATOM_ASSET_SHADER_SUPPORTED for Linux
* Enabled AZ_TRAIT_ATOM_VULKAN_LAYER_LUNARG_STD_VALIDATION_SUPPORT for Linux/Vulkan
* Added AzslcHeader.azsli, PlatformHeader.hlsli dependencies for Linux/Null and Linux/Vulkan in the platform builders for windows and mac for consistency

Signed-off-by: spham-amzn <spham@amazon.com>
2021-07-22 10:16:17 -07:00
Jacob Hilliard 3f71277220 Integrate visualizer widget into ASV CPU profiler (#2106)
* Visualizer: initial refactor to toggle behavior

Signed-off-by: Jacob Hilliard <jhlliar@amazon.com>

* Visualizer: improve window integration

Signed-off-by: Jacob Hilliard <jhlliar@amazon.com>

* Visualizer: remove duplicate logic and cleanup

Signed-off-by: Jacob Hilliard <jhlliar@amazon.com>

* Visualizer: fix tabs

Signed-off-by: Jacob Hilliard <jhlliar@amazon.com>

* Visualizer: move to iterator prefix increment

Signed-off-by: Jacob Hilliard <jhlliar@amazon.com>

* Visualizer: fix format string type error

Signed-off-by: Jacob Hilliard <jhlliar@amazon.com>
2021-07-22 10:12:07 -07:00
Chris Galvan edbe05bd81 Fixed Project Manager to enable save/restore of the window geometry so its window position/sizing will be restored after it is closed/re-launched. Also improved WindowDecorationWrapper logic to center by default when using the showFromSettings API for first time launch.
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
2021-07-22 11:57:40 -05:00
Benjamin Jillich dbe6bb673e Merge pull request #2277 from aws-lumberyard-dev/burelc/LYN-4490
[MeshOptimizer] Weld nearby vertices when optimizing meshes
2021-07-22 09:42:30 -07:00
AMZN-AlexOteiza b815c203da (Continuation) Implemented automation paralellization & standarization (#1718)
Engine improvements/fixes

Fixed behavior that made the editor automated test to be sometimes stuck if lost the focus is lost.
Added support for specifying multiple tests to in batch to the editor, this is achieved by passing --runpythontest with the tests separated by ';'
Added new cmdline argument --project-user-path for overriding the user path. This allows to have multiple editors running writing logs and crash logs in different locations.
Moved responsability of exiting after a test finishes/passes out of ExecuteByFilenameAsTest, callers will use the bool return to know if the test passed.
Editor test batch and parallelization implementation:

Now the external python portion of the editor tests will be specified via test specs which will generate the test. Requiring no code. This is almost a data-driven approach.
Tests can be specified as single tests, parallel, batchable or batchable+parallel
Command line arguments for pytest to override the maximum number of editors, disable parallelization or batching.
Automated tests for testing this new editor testing utility

Signed-off-by: Garcia Ruiz <aljanru@amazon.co.uk>

Co-authored-by: Garcia Ruiz <aljanru@amazon.co.uk>
2021-07-22 12:57:23 +02:00
hultonha 231f09d899 Merge pull request #2322 from aws-lumberyard-dev/hultonha_LYN-1866_viewport-ui-focus-tidy
ViewportUi related tidy-up changes
2021-07-22 10:02:56 +01:00
kberg-amzn 3bb62ca3f7 Merge pull request #2315 from aws-lumberyard-dev/MultiplayerWeapons
Multiplayer weapons
2021-07-21 17:37:21 -07:00
sphrose 9639003a7d LYN-4774 Fix missing box icons inside the main Viewport (#2297)
* LYN-4774 Fix missing box icons inside the main Viewport

Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>

* V2 icons

Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>

* Bug fixes

Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>
2021-07-21 16:33:04 -07:00
L4stR1t3s cf2effc58c Ninja compile and link pool CMake settings (#2334)
* Ninja compile and link pool CMake settings

Signed-off-by: L4stR1t3s <69721170+L4stR1t3s@users.noreply.github.com>

* Added CMake cached variables for Ninja compile/link pool settings

Signed-off-by: L4stR1t3s <69721170+L4stR1t3s@users.noreply.github.com>
2021-07-21 16:04:01 -07:00
L4stR1t3s 9596aa0ddf Added .vs/ (Visual Studio cache when using CMake builds instead of solutions) and out/. (Visuql Studio uses this as default build directory when opening a folder with a CMakeLists.txt and immediately creates it) to .gitignore. (#2306)
Signed-off-by: L4stR1t3s <frederik.decaster@gmail.com>
2021-07-21 15:07:24 -07:00
Luis Sempé eb24edbce7 Merge pull request #2304 from aws-lumberyard-dev/scripting/contract_crash_fix
Crash guard when the data has a list with an empty contract
2021-07-21 14:48:24 -07:00
srikappa-amzn d8c9c5178e Reset the prefab root instance before removing the corresponding template (#2287)
* Remove dirty entities correctly when prefab entities get destroyed

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

* Remove call to clear dirty entity for single entity delete

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

* Removed couple of asserts because order of operations is not fixed

Signed-off-by: srikappa-amzn <srikappa@amazon.com>
2021-07-21 15:42:46 -05:00