Commit Graph

4529 Commits

Author SHA1 Message Date
daimini b758a1553f GetTemplateIdFromFilePath now asserts if it's passed an absolute path. This is helpful for debugging, since the function would silently fail even if the file was actually loaded. 2021-04-27 17:21:33 -07:00
daimini c07a7c3766 Detect and block instantiations that would generate circular dependencies in the instance hierarchy. 2021-04-27 17:20:22 -07:00
mnaumov 793d60f150 Merge main 2021-04-27 17:07:42 -07:00
guthadam 1d093f9c29 Merge branch 'main' into Atom/guthadam/ATOM-15370 2021-04-27 18:46:26 -05:00
guthadam 7e8b1e8c80 Fix linux build 2021-04-27 17:57:09 -05:00
srikappa 26604fd66c Merge branch 'main' into Prefab/CreatePrefab 2021-04-27 15:41:04 -07:00
Danilo Aimini 963e851119 Merge pull request #372 from aws-lumberyard-dev/LYN-3060-cherry
Cherry-pick: LYN-3060 | Launching the Editor with Prefab System enabled results in asserts
2021-04-27 15:37:48 -07:00
srikappa 06803040ac Fixed an assert during loading a level with prefabs 2021-04-27 15:36:44 -07:00
Chris Galvan 8e88d746a3 [LYN-3356] Replaced GetSelectedEntities + size() with new API. 2021-04-27 16:56:20 -05:00
guthadam eeafb5eaa3 ATOM-15370 Fix thumbnail scaling and sizing issues
TLDR
Thumbnails size will be removed from the system.
Each thumbnail class is responsible for determining its stored size.
Images and other thumbnail types can be scaled up or down within reason without blurring.

The thumbnail system uses the concept of context and size organize thumbnails by size based on their intended use.  However, most of the thumbnail classes do not respect or use the specified size, which is 16 by 16 pixels and really only usable for small icons.

The thumbnails are currently being used in the asset browser tree control, the larger asset browser previews, the material component property asset controls, the material component inspector for the large preview, and other places.  Each of these places use completely different sizes, some of which are large and change dynamically. Whenever the thumbnails are painted they are scaled to the desired size.

Material and mesh thumbnails were always being captured at 512x512 regardless of what the rest of the thumbnail system said.  Source, product, and folder thumbnails would be stored at the original asset size.  The loading movie thumbnail was always drawn at 16 by 16 and scale up so it was always blurry.  Image thumbnails were always scaled down to 16 by 16 and scale up for larger previews.

Rather than worrying about the size of each context, each thumbnail class will store the image at whenever it deems to be a large enough size that can be scaled down when used.

This may eliminate the need for multiple thumbnail contexts which are not being used anyway.

https://jira.agscollab.com/browse/ATOM-15370
2021-04-27 16:43:06 -05:00
daimini caa982372f Remove include for removed interface in EditorPrefabComponent.cpp 2021-04-27 14:12:56 -07:00
daimini 797ee26f87 Remove EntityOutlinerWidgetInterface, and replace it with PrefabPublicNotificationBus. Introduce events to notify handlers of when instance propagation begins and ends so that widgets can refresh correctly. 2021-04-27 14:12:46 -07:00
Chris Galvan 84e0f6f58d [LYN-3122] Moved invariant logic outside of for loop and removed TODO comment. 2021-04-27 15:54:45 -05:00
Chris Galvan f269d92f90 [LYN-3122] Fixed the viewport Entity hit test logic. This allows the BuildDragDropContext to detect hit position correctly so that assets dragged into the viewport are placed in the correct position. 2021-04-27 15:54:23 -05:00
pereslav f1ae3f52b0 Merge branch 'main' into MultiplayerPipeline 2021-04-27 21:23:22 +01:00
Chris Galvan 21d99ea07d [LYN-3348] Removed legacy CObjectPhysicsManager. 2021-04-27 15:16:20 -05:00
Junbo Liang 83f3cbd4a1 Merge pull request #151 from aws-lumberyard-dev/SPEC-6072
[SPEC-6072] [Crashpad] Migrate crash reporting tool to use Crashpad from 3rdParty
2021-04-27 12:13:21 -07:00
hultonha 64e06c3010 more updates to camera code 2021-04-27 19:40:45 +01:00
mnaumov 03e681ca5f Merge from main 2021-04-27 11:26:02 -07:00
mnaumov 5f33337fec Merge main 2021-04-27 11:05:22 -07:00
AMZN-mnaumov a00d47365e Merge pull request #295 from aws-lumberyard-dev/Atom/mnaumov/ATOM-14585
[ATOM-14585] Enlarged thumbnails on hover
2021-04-27 10:53:18 -07:00
jjjoness 0607f6efa6 Changed Play Console from comments in PR. 2021-04-27 18:37:14 +01:00
AMZN-koppersr 0f8e6cbda1 Fixed a Linux build error. 2021-04-27 10:36:43 -07:00
greerdv b113f09a71 first pass of changing transform to use float for scale internally rather than Vector3 2021-04-27 18:12:46 +01:00
junbo 0b8299ba0b Remove the existing crashpad package and update the package hash 2021-04-27 09:50:20 -07:00
junbo eb0758f63a [SPEC-6071][Crashpad] Make Crashpad available through 3rdParty system for Windows 2021-04-27 09:48:50 -07:00
amzn-sean 6987dac6f3 Merge pull request #242 from aws-lumberyard-dev/physx_ragdoll_create
Ragdoll now uses Add/Remove SimulatedBody
2021-04-27 15:53:23 +01:00
Aaron Ruiz Mora 00fca9489c Fix editor crashing by protecting gEnv->g3DEngine 2021-04-27 14:52:10 +01:00
amzn-sean 82fce4a90c Merge branch 'main' into physx_ragdoll_create 2021-04-27 14:21:10 +01:00
hultonha 1b946818a2 more tidy-up to CameraInput.cpp 2021-04-27 13:58:17 +01:00
hultonha 80108fd848 Merge branch 'main' into hultonha_LYN-2315_camera-phase-2 2021-04-27 13:13:53 +01:00
pereslav 44ce664730 Changed handling --console_command_file to use AZ::Console::ExecuteConfigFile 2021-04-27 12:36:17 +01:00
igarri d6ed9d100e Merge branch 'main' into LYN-1767-AB 2021-04-27 12:29:37 +01:00
hultonha b85c5f42ed Merge branch 'main' into hultonha_LYN-3064_trackview-simplemotion-only 2021-04-27 11:41:13 +01:00
hultonha 0acaac14d8 Merge branch 'main' into hultonha_PR-37_follow-up 2021-04-27 11:39:28 +01:00
hultonha 0952b7bd87 update Cluster file name to ButtonGroup 2021-04-27 11:32:53 +01:00
amzn-sean fbb8727407 Merge branch 'main' into physx_ragdoll_create 2021-04-27 11:04:04 +01:00
hultonha 0da9a05d87 Merge branch 'main' into hasareej_LYN-2475_viewportui_switcher 2021-04-27 11:02:20 +01:00
hultonha 56477b7cc7 merge from main and resolve conflicts 2021-04-27 10:58:35 +01:00
hultonha c898318377 updated camera changes 2021-04-27 10:30:07 +01:00
jjjoness 275d99359d Merge branch 'main' into LYN-1099 2021-04-27 09:43:05 +01:00
mnaumov fdcb19f45a Reverting some unused code 2021-04-26 17:48:49 -07:00
mnaumov 91f027a05c PR feedback 2021-04-26 17:42:49 -07:00
AMZN-koppersr 6dfa33816b Fixed a bug with type ids for inherited classes with a custom serializer.
The code that adds a $type field for pointers where needed was still assuming that custom serializer were always for primitives, which isn't the case anymore. This changes updates the behavior to allow $type to be added to those as well as long as they use an object. This does now however rely more heavily on earlier checks that the data needs a $type because it otherwise can't tell the difference between a primitive getting a default value (an empty object). In the original code this situation would have resulted in failed serialization though, so it's unlikely to be a problem.
2021-04-26 15:26:18 -07:00
mbalfour f76b69d480 Added a handful of null checks to let new level creation succeed. 2021-04-26 16:15:25 -05:00
pereslav 1e43095123 Merge branch 'main' into MultiplayerPipeline 2021-04-26 21:49:27 +01:00
pereslav 2b77d43435 Exposed exec console command to AZ Console 2021-04-26 21:30:52 +01:00
AMZN-daimini 44f1a627e7 Merge pull request #300 from aws-lumberyard-dev/Prefab/LYN-3100
KEYSTONE USE CASE | Save changes to non-root container entities in the link to the parent instance
2021-04-26 13:20:35 -07:00
nvsickle 33d210b793 Fix "Configure Layout..." being greyed out in the viewport menu 2021-04-26 12:53:52 -07:00
mnaumov c4e3c39ee2 PR feedback 2021-04-26 12:44:51 -07:00