Commit Graph

660 Commits (33cbc2db219cb77d088cb15c1774c86d9b1be9aa)

Author SHA1 Message Date
guthadam 1d093f9c29 Merge branch 'main' into Atom/guthadam/ATOM-15370 5 years ago
srikappa 26604fd66c Merge branch 'main' into Prefab/CreatePrefab 5 years ago
srikappa 06803040ac Fixed an assert during loading a level with prefabs 5 years ago
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
5 years ago
daimini caa982372f Remove include for removed interface in EditorPrefabComponent.cpp 5 years ago
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. 5 years ago
mnaumov 03e681ca5f Merge from main 5 years ago
mnaumov 5f33337fec Merge main 5 years ago
AMZN-mnaumov a00d47365e
Merge pull request #295 from aws-lumberyard-dev/Atom/mnaumov/ATOM-14585
[ATOM-14585] Enlarged thumbnails on hover
5 years ago
greerdv b113f09a71 first pass of changing transform to use float for scale internally rather than Vector3 5 years ago
igarri d6ed9d100e Merge branch 'main' into LYN-1767-AB 5 years ago
hultonha 0952b7bd87 update Cluster file name to ButtonGroup 5 years ago
hultonha 0da9a05d87 Merge branch 'main' into hasareej_LYN-2475_viewportui_switcher 5 years ago
hultonha 56477b7cc7 merge from main and resolve conflicts 5 years ago
mnaumov fdcb19f45a Reverting some unused code 5 years ago
mnaumov 91f027a05c PR feedback 5 years ago
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
5 years ago
mnaumov c4e3c39ee2 PR feedback 5 years ago
Chris Galvan 5d2db78f74 [LYN-3272] Added missing call in unit test. 5 years ago
Chris Galvan 9d57095e1c [LYN-3272] Added API for retrieving the number of selected entities. Updated InfoBar to use this new API. 5 years ago
hasareej c85fbe86ba Merge branch 'main' into hasareej_LYN-2475_viewportui_switcher 5 years ago
hasareej 9cf8070c9e Styling and Review Feedback Changes 5 years ago
igarri f24ae99b3e Merge branch 'main' into LYN-1767-AB 5 years ago
hultonha fc591e292e tidy-up to some naming for types 5 years ago
hultonha a4b8db2f94 Merge branch 'main' into hasareej_LYN-2475_viewportui_switcher 5 years ago
hultonha b27daeead5 updates to viewport ui switcher id and usage 5 years ago
mnaumov 0bcc85e4d8 scope pointer 5 years ago
mnaumov 30458bc1be PR feedback 5 years ago
daimini 833ca2767d Fix a bug with level save erasing link information on Instances. All changes to non-root container entities are now saved as patches in the link to the parent instance. 5 years ago
Guthrie Adams fb26308a26
Merge pull request #291 from aws-lumberyard-dev/Atom/guthadam/ATOM-15326
ATOM-15326 support for image thumbnails in asset browser and thumbnail widget
5 years ago
mnaumov 9f4606c17a Removing test code 5 years ago
mnaumov b215d1c098 Enlarged thumbnails on hover 5 years ago
guthadam 923f234d71 ATOM-15326 support for image thumbnails in asset browser and thumbnail widget
This change adds support for streaming image thumbnails in the asset browser tree and thumbnail widget.

This is a prerequisite for displaying image previews inside of the material inspector.

https://jira.agscollab.com/browse/ATOM-15326

https://jira.agscollab.com/browse/ATOM-14003
5 years ago
Chris Burel 28170ffe41 Add newlines to the end of all files 5 years ago
AMZN-daimini e772afa06e
Merge pull request #226 from aws-lumberyard-dev/Prefab/Instantiate/Setup
KEYSTONE USE CASE | Instantiate Prefab
5 years ago
greerdv 540f0dcd98 Merge branch 'main' into non-uniform-scale-trackview 5 years ago
greerdv 40655eba03 removing element-wise scale setters from transform bus 5 years ago
greerdv 099f43237d removing long deprecated transform scale functions 5 years ago
daimini eae9d60c15 Pass position Vector3 as const reference in InstantiatePrefab. 5 years ago
srikappa a9af90be5a Removed the shouldPropagateTemplateChanges flag to revisit optimization later and fixed some function comments 5 years ago
mnaumov 09a0676b9c Adding custom title to PropertyAssetCtrl 5 years ago
daimini 8f79379bc8 Fixes as per Ram's review 5 years ago
daimini 76739de282 Fix spacing 5 years ago
daimini ea43eb3ac9 Set position of instantiated prefab 5 years ago
srikappa 3b3b4305c1 Merge branch 'main' into Prefab/CreatePrefab 5 years ago
daimini c9a4b6f50b Better handle the default case for Instantiate 5 years ago
srikappa 17dbe55189 Added undo and redo support for nested prefab creation 5 years ago
hultonha cc4d69f279 Merge branch 'main' into hasareej_LYN-2475_viewportui_switcher 5 years ago
daimini cf4bbe569b Remove Prefab cache undo node generation for container entities - will move that work to a separate PR. 5 years ago
igarri 0ebe6c6079 Setup Table model and Table view 5 years ago
mnaumov 5f0e7f2cbc merge from main 5 years ago
daimini 67fa4a332b Change CreateLink to return the LinkId 5 years ago
daimini ca8d6f8818 Instantiate Prefab 5 years ago
Luis Sempé 8996976efb
Merge pull request #222 from aws-lumberyard-dev/scripting/bug_fixes
Fixed Lua IDE startup
5 years ago
luissemp 49322b040b Fixed Lua IDE startup 5 years ago
Chris Galvan 5061f39406 Merge branch 'main' into cgalvan/RemoveLegacyEditTools 5 years ago
Chris Galvan 0efa1e7817 [LYN-3105] Removed legacy CEditTool class and all sub-classes. 5 years ago
amzn-sean b0cb5a381b
Merge pull request #104 from aws-lumberyard-dev/fixed_LYN-2998_main
LYN-2998
added protections around physx AZ::Events handlers that are connected/disconnected on selection events.
fixed entities not being deselected when entering game mode in editor.
5 years ago
mnaumov 5f4275336c Fixing deadlock related to thumbnails
Adding smoothing to thumbnails in AssetBrowser
5 years ago
AMZN-daimini 62bc7a66bb
Remove the Level Inspector from Prefab mode and move behavior to Entity Inspector. (#149)
* Remove Level Inspector from Prefab mode, and integrate the same behavior in the Entity Inspector

* Show prefab name in level entity row of the Outliner. Allow Ui Handlers to prevent renaming.

* Separate setting the prefab's template path and the container entity name.

* Disable reparenting to root level

* Disable the ability to rename the level entity.

* Fixes as per Ram's review
5 years ago
srikappa-amzn f8c5048b56
Merge pull request #141 from aws-lumberyard-dev/Prefab/CreatePrefab
Fix prefab creation and support nested prefab creation when prefabs flag is enabled
5 years ago
srikappa 78892c8d7e Improved a couple of comments 5 years ago
AMZN-mnaumov f4a57663fa
Merge pull request #142 from aws-lumberyard-dev/Atom/mnaumov/ATOM-15222
[ATOM-15222] Adding "Create New Material" context menu option to folder in Materia…
5 years ago
AMZN-mnaumov 3994d80c7e
Merge pull request #148 from aws-lumberyard-dev/Atom/mnaumov/ATOM-15271
[ATOM-15271] Fixing thumbnail pixelation
5 years ago
sphrose b1d8330870 Review fixes. 5 years ago
AMZN-daimini 7901fe8625
Reset the whole Qt model when an entry in the EditorEntityModel is removed. (#48) (#82)
An optimization introduced in Prefab mode currently changes the relative ordering of children, causing stale QModelIndex variables to still be referenced and crash the Editor sporadically. This change is theoretically a bit slower, but still much faster than the pre-optimization times.

Co-authored-by: Shirang Jia <shiranj@amazon.com>

Co-authored-by: Shirang Jia <shiranj@amazon.com>
5 years ago
mnaumov 7e48bee48f Fixing thumbnail pixelation 5 years ago
srikappa 967d182ccc Fixed a couple of typos 5 years ago
srikappa 8d94f45b19 Merge branch 'main' into Prefab/CreatePrefab 5 years ago
mnaumov 6abf17439a Adding "Create New Material" context menu option to folder in Material Editor
Improving MaterialBrowser filter to show empty folders
5 years ago
srikappa 707f7cb6ce Added some comments 5 years ago
srikappa 8bc2998d82 Merge branch 'main' into Prefab/CreatePrefab 5 years ago
srikappa 65b2d9de1b Added couple of helper functions 5 years ago
Chris Galvan 7f169855f3 Merge branch 'main' into cgalvan/EntityHelperRefactor 5 years ago
srikappa f3ff5ec886 Add helper method for adding link in CreatePrefab 5 years ago
Chris Galvan 06d6ab9715 [LYN-2255] Updated unit test to use matchers to reduce lines and improve readability. Also fixed some other minor code feedback. 5 years ago
srikappa 889158e3a9 A couple of minor fixes 5 years ago
sphrose 2dbd9e4a05 Changed to use direct line drawing rather than adding svg. 5 years ago
mcgarrah 6d3b9e4f51 Merge remote-tracking branch 'upstream/main' into LYN-2726-ProjectRoot 5 years ago
srikappa 22d6e1ec0d Modularized undo instannce update undo operation and enabled setting container entity to be selected 5 years ago
Esteban Papp a6c7815685
SPEC-6371 Change the asset_profile and test_profile steps to be no_unity so it doesnt recompile 5 years ago
alexpete 10faddb113 Integrating github/staging through commit ef88e6e 5 years ago
amzn-sean beafc80939 Fixed entities not being deselected when entering game mode in editor.
added protections around physx AZ::Events handlers that are connected/disconnected on selection events.
jira: LYN-2998
5 years ago
hasareej f6fc8f95a9 Fixed random button highlights & toolbar order. 5 years ago
hasareej 969f94ffb5 Initial pass of ViewportUiSwitcher. 5 years ago
sphrose fece27b1b0 Merge branch 'main' into LY-113714 5 years ago
mcgarrah bff55bd688 LYN-2726 Updated the Settings Registry Merge Utils logic to determine
the project root and engine root to fix issues with running the Editor
or AssetProcessor from within the project folder overriding the
project_path with the engine root bootstrap.cfg project_path entry

The order in which the project path is overridden as follows
1. The <engine-root>/bootstrap.cfg is first merged into the Settings
   Registry. Any '/Amazon/AzCore/Bootstrap/project_path' would be used
   if the following steps don't override that key.
2. Followed by general *.setreg/*.setregpatch files being merged into
   the Settings Registry which can override the
   '/Amazon/AzCore/Bootstrap/project_path' key
3. Next a project.json file searched upwards from the current executable
   directory to determine the project path
4. Finally if a command line parameter that overrides the project path
   is supplied it is used instead
5 years ago
srikappa 0b29e4ffea Merge branch 'main' into Prefab/CreatePrefab 5 years ago
srikappa 778d60bd0c Replaced unique instance queue with checks in template to instance mapper 5 years ago
srikappa-amzn 76af009190
Merge pull request #72 from aws-lumberyard-dev/Prefab/RelativePathForNewPrefabs
Make creation of new prefabs use a relative path to the project
5 years ago
Terry Michaels 020d7801bb
Make sure Recent Files list is correctly enabled/disabled when the list changes (#73)
Make sure Recent Files list is correctly enabled/disabled when the recent files list changes
5 years ago
srikappa c63f09adce Merge branch 'main' into Prefab/CreatePrefab 5 years ago
srikappa 4da29a09d2 Merge branch 'main' into Prefab/RelativePathForNewPrefabs 5 years ago
greerdv 10ab7666db Merge branch 'main' into limit_max_scale 5 years ago
srikappa 2410d299c1 Make creation of new prefabs use a relative path to the project 5 years ago
srikappa a371edd07f Initial commit of CreatePrefab work 5 years ago
Chris Galvan 0f13a71bd2 [LYN-2255] Refactored some EditorEntityHelpers so they can be re-used. 5 years ago
nvsickle bf0db7a3c6 Merge remote-tracking branch 'upstream/main' into nvsickle/EnableAtomViewport 5 years ago
alexpete 8469c9ca0a Integrating github/staging through commit 5f214be 5 years ago
nvsickle f6e98d5014 Fix viewport context menu hiding cursor and sometimes popping up repeatedly 5 years ago
sphrose a71a5746cc [LY-113714]
Jira: LY-113714
https://jira.agscollab.com/browse/LY-113714
5 years ago
Alex Peterson cd12226849
Merge branch 'main' into github/staging 5 years ago
greerdv 8ee92978f4 setting max value for scale 5 years ago
greerdv 51f1183ff4 making scale gizmo apply uniform scale to transform 5 years ago
alexpete c5b955d281 Integrating github/staging through commit b0dd7ed 5 years ago
alexpete 1044dc3da1 Integrating github/staging through commit ab87ed9 5 years ago
alexpete c2cbd430fe Integrating up through commit 90f050496 5 years ago
alexpete 36c4e827bd Integrating latest from github/staging
Integrating up through commit 5e1bdae
5 years ago
alexpete 75dc720198 Integrating latest 47acbe8 5 years ago
alexpete a10351f38d Initial commit 5 years ago