Commit Graph

10194 Commits

Author SHA1 Message Date
michabr ea33d792f6 Fix assert in LyShine when unloading a level (#6260)
* Fix assert in LyShine when unloading a level

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

* Remove use of iter now that it's no longer used

Signed-off-by: abrmich <abrmich@amazon.com>
2021-12-08 15:53:16 -08:00
galibzon 76e09a36d9 Make math classes & EntityId visible in Lua Documentation. (#6261)
Small change in behavior context attribute for a few
classes so they become visible when extracting Lua symbols
from the ScriptContextDebug() API.

From:
Attribute(AZ::Script::Attributes::ExcludeFrom,
    AZ::Script::Attributes::ExcludeFlags::All)

To:
Attribute(AZ::Script::Attributes::ExcludeFrom,
    AZ::Script::Attributes::ExcludeFlags::ListOnly)

It seems the previous code was simply trying to hide those symbols from
the Script Canvas node palette. But it was also, seemingly unintentional,
hiding those symbol from Lua Documentation.

Signed-off-by: galibzon <66021303+galibzon@users.noreply.github.com>
2021-12-08 16:51:44 -06:00
Steve Pham 9b480f252e Fix and enable failed gradient signal tests on Linux
* Fix failure reason for PerlinGradientComponent_GoldenTest: non-standard behavior of std::shuffle producing different results across platforms
* Fix failure reason for GradientImageAssetConversionU8SingleScale: Undefined behavior when float casts to a uint8 has overflow

Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
2021-12-08 14:28:45 -08:00
Chris Galvan fc71f3f81d Merge pull request #6257 from aws-lumberyard-dev/cgalvan/MoreReadOnlyPrefabChanges
Additional read-only prefab workflow changes.
2021-12-08 15:53:33 -06:00
Chris Galvan 1aed839271 Fixed typo.
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
2021-12-08 15:02:41 -06:00
Mike Chang 6c299000a7 Notices automation install (#6228)
This will generate the NOTICES.txt license file and SPDX-Licenses.json manifest file on every installer run.

Signed-off-by: Mike Chang <changml@amazon.com>
2021-12-08 12:45:44 -08:00
AMZN-Phil 0b028a827c Merge pull request #6229 from aws-lumberyard-dev/Prism/InstallerVersionBuildNumber
Force string check on build version numbers so that versions such as 21.11.1 are detected correctly.
2021-12-08 12:34:03 -08:00
Thomas Poulet 6726d7a886 Fix quad light NAN on contact with other surfaces (#6174)
* Fix quad light NAN on contact with other surfaces

- Quad lights can produce nan if intersecting other surfaces. This is caused by a division by 0 in the edge integration functions. Fixed by saturating the output.
- Small refactoring on LTC edge integration functions. To make the terms more explicit.

Signed-off-by: Thomas Poulet <1039134+Bindless-Chicken@users.noreply.github.com>

* Replace incorrect saturate with EPSILON clamp

Signed-off-by: Thomas Poulet <1039134+Bindless-Chicken@users.noreply.github.com>

Co-authored-by: Thomas Poulet <1039134+Lord-Nazdar@users.noreply.github.com>
2021-12-08 13:51:55 -06:00
Chris Galvan 9dc32a0381 Additional read-only prefab workflow changes.
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
2021-12-08 12:30:31 -06:00
Esteban Papp e79d79ec45 Fixes some missing includes/declaring budgets (#6238)
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
2021-12-08 09:53:37 -08:00
Steve Pham 558532f094 Process launcher updates (#6183)
* Enable process and ap connection tests on linux
* Updated 'OpenProjectManager' to use new the ProcessLauncher argument type
* Add logic to double-escape escaped double quotes in arguments on windows platforms
* Updated argument for LaunchProjectManager to reflect new ProcessLauncher argument type
* Fixed unit test arguments for 'arg=value' condition
* Fix compile errors for BuilderManager and RHI.Edit\Utils.cpp
* PAL'ify the GetCommandLineParametersAsString() to handle windows specific behavior

Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>

Co-authored-by: byrcolin <byrcolin@amazon.com>
2021-12-08 09:30:19 -08:00
benblack75 29da71e64e Updated Sponza Model (.ma, .fbx, textures) (#6080)
* Updated Sponza Model (.ma, .fbx, textures)

Signed-off-by: Benjamin Black <benblac@amazon.com>

* Removed corrupted file

Signed-off-by: Benjamin Black <benblac@amazon.com>

* Revisions to Sponza Scene

Signed-off-by: Benjamin Black <benblac@amazon.com>

* Sponza updates

Signed-off-by: Benjamin Black <benblac@amazon.com>

* Updated Cloth Irradiance Values

Signed-off-by: Benjamin Black <benblac@amazon.com>

* Added Sponza scene to Automated Testing- request from QA

Signed-off-by: Benjamin Black <benblac@amazon.com>

* Clean up removed files

Signed-off-by: Benjamin Black <benblac@amazon.com>
2021-12-08 08:49:18 -08:00
amzn-sj 47bd6fc4d4 [Mac] Format string specifier for size_t should be %zu (#6237)
Fixes this build error: error: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Werror,-Wformat]

Signed-off-by: amzn-sj srikkant@amazon.com
2021-12-08 08:34:34 -08:00
moraaar 045eea03e6 Converted NvCloth automated tests to prefabs (#6253)
* Deleted cloth slice assets and AutomatedTesting levels based on slices

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

* Recreated nvcloth AutomatedTesting levels for prefabs

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

* Run nvcloth automated tests with prefabs enabled (which is the default)

Signed-off-by: moraaar <moraaar@amazon.com>
2021-12-08 16:07:03 +00:00
Gene Walters 16f5f45b7e Merge pull request #6170 from aws-lumberyard-dev/LYN-8770_PrintNetEntityNameIfImproperlyDeleted
Print Entity name if Improperly Deleted
2021-12-08 07:38:43 -08:00
sphrose 1e11e54702 Merge pull request #6246 from aws-lumberyard-dev/debug_compile_fix
Fix debug compilation.
2021-12-08 15:20:32 +00:00
John Jones-Steele 9e7d5fe52b Test the Terrain World configuration changes when parameters are chan… (#6063)
* Test the Terrain World configuration changes when parameters are changed in the component

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Changes from PR

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Before merge

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Before merge 2

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Changes from PR

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Change from PR

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Change before merge

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Change before merge 2

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Change before merge 3

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Change after merge to fix conflicts

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Fix merge conflict

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Fix merge conflict

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* CHanges from PR

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>
2021-12-08 14:09:56 +00:00
moraaar 5eb058f679 Use LegacySystemInterfaceCreated to initialize physics material library. (#6168)
* Use LegacySystemInterfaceCreated to initialize physics material library. OnCatalogLoaded was used before but it's not called when running the editor without assets processed yet.

Signed-off-by: moraaar <moraaar@amazon.com>
2021-12-08 12:23:19 +00:00
sphrose 1a94caee47 Fix debug compilation.
Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>
2021-12-08 11:06:02 +00:00
moraaar f9f11d98b1 Fixed critical json property (cherry picked from RTE branch) (#6220)
* Fixing critical tag as it needs a boolean, not a string.

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

* Marking blast material library assets as criticals since it's necessary to be ready before the editor opens

Signed-off-by: moraaar <moraaar@amazon.com>
2021-12-08 10:26:02 +00:00
Tom Hulton-Harrop b54215552c Prevent the camera from easily being set to an invalid orientation (#6203)
* add temporary debug logging

Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com>

* improvement for box select sometimes getting stuck on

Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com>

* add temporary debug logging

Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com>

* improvement for box select sometimes getting stuck on

Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com>

* remove temporary logging

Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com>

* fixes for camera pitch issues

Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com>

* missed file with camera pitch fixes

Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com>

* remove debug logs

Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com>

* add some tests for new pitch constraint updates

Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com>
2021-12-08 09:42:40 +00:00
Chris Galvan a8ef23e4ae Merge pull request #6232 from aws-lumberyard-dev/cgalvan/ReadOnlyPrefabWorkflowChanges
Some read-only prefab workflow updates.
2021-12-07 19:38:54 -06:00
AMZN-Phil 1cbe4261db Force a string check on the version numbers
Signed-off-by: AMZN-Phil <pconroy@amazon.com>
2021-12-07 17:10:26 -08:00
Danilo Aimini 3a7d9f9b3a LYN-8633 | Read-Only Entities - Entity Outliner behavior changes (#6230)
* Add invalid entityId check to IsReadOnly

Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com>

* Ensure read-only entities editing is limited (no renaming, limited drag/drop, no asset drop on them)

Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com>

* Removing redundant class definition in wrong namespace.

Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com>
2021-12-07 16:58:29 -08:00
Esteban Papp 3f86f31f2a Redcode/driller removal
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
2021-12-07 15:43:26 -08:00
Chris Galvan 6532c50c27 Some read-only prefab workflow updates.
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
2021-12-07 17:22:10 -06:00
AMZN-Phil 6e2ca2b929 Use version check to allow for a defined empty string to fail and greater to check build number is a number greater than 0
Signed-off-by: AMZN-Phil <pconroy@amazon.com>
2021-12-07 15:12:11 -08:00
Jeremy Ong c27a22abd4 Merge pull request #6223 from aws-lumberyard-dev/Atom/PixEventsOnIfDllLoaded
Enable Pix markers if the Pix DLL is loaded
2021-12-07 15:21:58 -07:00
AMZN-Phil 6301e44d33 Check whether env variables are defined
Signed-off-by: AMZN-Phil <pconroy@amazon.com>
2021-12-07 14:05:05 -08:00
Esteban Papp 5cca52e73c Merge branch 'development' into redcode/driller_removal
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>

# Conflicts:
#	Code/Framework/AzCore/AzCore/azcore_files.cmake
#	Gems/Atom/Feature/Common/Assets/Materials/Presets/MacBeth/15_red_sRGB.tif
2021-12-07 13:31:55 -08:00
Esteban Papp cd5306febf Merging from development
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
2021-12-07 12:35:41 -08:00
moudgils 577280cc11 Disable shaders for metal compilation until the issues are addressed properly (#6222)
* Disabling shaders for metal compilation until the issue is fixed properly.

Signed-off-by: moudgils <47460854+moudgils@users.noreply.github.com>

* Adding a missed shader

Signed-off-by: moudgils <47460854+moudgils@users.noreply.github.com>
2021-12-07 11:45:55 -08:00
Nicholas Van Sickle 3d8664ee92 Merge pull request #5511 from aws-lumberyard-dev/nvsickle/GenericDomJson
Generic DOM: Add DomBackend abstraction and JSON support
2021-12-07 11:20:53 -08:00
amzn-mike 7c96bc4f1f Fix loaded procprefabs not going through the asset hint fixup process… (#6077)
* Fix loaded procprefabs not going through the asset hint fixup process for all versions of LoadInstanceFromPrefabDom.

Fixes procprefab asset references not working when pressing Ctrl+G in the editor

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Add unit test

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Add missing include

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>
2021-12-07 13:00:47 -06:00
jromnoa 1be7845cd2 Merge pull request #6085 from aws-lumberyard-dev/Atom/jromnoa/add-remaining-gpu-tests-to-optimized-classes
Enable optimized GPU tests and make them the main GPU tests.
2021-12-07 10:52:03 -08:00
Alex Peterson 3405cee2ef GUI for engine force registration and renaming (#6184)
Signed-off-by: Alex Peterson <26804013+AMZN-alexpete@users.noreply.github.com>
2021-12-07 10:46:30 -08:00
amzn-phist 72b5539259 Add verbosity option to some o3de.py sub-commands (#6079)
* Add verbosity option to some o3de.py sub-commands

- Added the -v/-vv option to the most commonly used o3de sub-commands
- Adds a custom argparse Action to make it easy to add verbosity option
  to other commands as needed.
- Sets up parent-child loggers so that when verbosity is changed in a
  sub-command it will be applied globally to all logger instances.

Also:
- Fixes up many warnings, PEP8 improvements

Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>

* Update the log format in o3de script modules

- Use a bit nicer format than the default, which was harder to read.

Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
2021-12-07 12:28:17 -06:00
Jeremy Ong 2d1d9f1f5c Enable Pix markers if the Pix DLL is loaded
Fixes a regression introduced when Nsight Pix markers were enabled.

Signed-off-by: Jeremy Ong <jcong@amazon.com>
2021-12-07 10:32:09 -07:00
carlitosan 4b97f7bac2 Merge pull request #5296 from aws-lumberyard-dev/sc-editor-asset-redux
Sc editor asset redux
2021-12-07 09:15:52 -08:00
rgba16f aad16acf1f Jobify the draw item list sort in View::FinalizeDrawLists (#6176)
Jobification of the sort saves 0.7ms/frame on the HighInstanceTest on my pc.
Make MeshFeatureProcessor update of the mesh cull bounds part of the job work rather than part of the simulate work. This saves 0.1ms/frame on the HighInstanceTest

Signed-off-by: rgba16f <82187279+rgba16f@users.noreply.github.com>
2021-12-07 10:44:12 -06:00
Nicholas Lawson 201777c1d1 ASTC (Ios texture compressor) for mac was built in debug. (#6182)
* Updates the mac version of ASTC Encoder to actually use release build

Signed-off-by: lawsonamzn <70027408+lawsonamzn@users.noreply.github.com>
2021-12-07 08:42:52 -08:00
Guthrie Adams baab10dd99 Merge pull request #6180 from aws-lumberyard-dev/Atom/guthadam/materialeditor/async_load_presets
Material editor asynchronously loads lighting and model presets
2021-12-07 10:33:51 -06:00
sphrose 49a1f00671 Merge pull request #5659 from aws-lumberyard-dev/terrain/sphrose/macro_material_tests
LYN-6357 Terrain Macro Material tests
2021-12-07 14:11:23 +00:00
sphrose 878d03e6b4 Merge branch 'development' into terrain/sphrose/macro_material_tests 2021-12-07 13:01:58 +00:00
sphrose 06511c6fd0 Merge pull request #4960 from aws-lumberyard-dev/terrain/sphrose/physics_collider_materials_LYN-6431
LYN-6431 Added materials support to TerrainPhysicsCollider, added uni…
2021-12-07 11:49:37 +00:00
Jonathan Capes 27d5f662f9 Update default project to include PrefabBuilder (#5619)
Signed-off-by: Jonathan Capes <j.capes@gmail.com>
2021-12-07 09:15:45 +00:00
sphrose f00923419d Merge branch 'development' into terrain/sphrose/physics_collider_materials_LYN-6431 2021-12-07 08:19:08 +00:00
sphrose f06230f614 fix merge conflict
Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>
2021-12-07 08:12:20 +00:00
sphrose 2316ddac65 Merge pull request #5784 from aws-lumberyard-dev/terrain/sphrose/vegetation_tests
Terrain/sphrose/vegetation tests
2021-12-07 08:04:21 +00:00
jromnoa 9038cdfcf9 fix merge conflict between constants in atom_constants.py
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
2021-12-06 17:53:31 -08:00