Danilo Aimini
8caf181db4
Merge branch 'development' of https://github.com/o3de/o3de into daimini/FocusMode/breadcrumbs
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
# Conflicts:
# Code/Framework/AzToolsFramework/AzToolsFramework/UI/Outliner/EntityOutlinerTreeView.cpp
2021-09-27 21:23:38 -07:00
kberg-amzn
0a829f9661
Merging latest development
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-09-27 15:50:22 -07:00
Steve Pham
c75e6860bb
Merge pull request #4224 from aws-lumberyard-dev/burelc/restructureXcbCode
...
Consolidate all xcb functionality into one subdirectory
2021-09-27 15:38:39 -07:00
Chris Burel
d8614948f3
Make InputChannelId's constructor constexpr ( #4220 )
...
This allows for all the global static `InputChannelId`s to be `constexpr`
as well, which prevents some global constructors, including some CRC32
calculations on application startup.
Signed-off-by: Chris Burel <burelc@amazon.com >
2021-09-27 14:30:37 -06:00
Chris Burel
f5effaabcc
Consolidate all xcb functionality into one subdirectory
...
The Linux platform has multiple windowing systems. Support for xcb is
currently in progress, support for Wayland is planned in the future. The
way the current xcb support is included is by making some file with a
`_xcb` suffix, and placing `#if PAL_TRAIT_LINUX_WINDOW_MANAGER_XCB` around
most of that file's contents.
With this change, all of the code in AzFramework that uses xcb directly is
inside the `Platform/Common/Xcb` subdirectory. It greatly reduces the
amount of code in compile-time `#ifdef` checks for the chosen windowing
system. It also provides a logical place to include O3DE-specific xcb
C++ wrappers and interfaces, without polluting non-xcb related code.
Signed-off-by: Chris Burel <burelc@amazon.com >
2021-09-27 11:44:55 -07:00
Chris Burel
08e3d14013
Move xcb files to common directory
...
Signed-off-by: Chris Burel <burelc@amazon.com >
2021-09-27 11:44:55 -07:00
Chris Galvan
527508ce66
Merge pull request #4270 from aws-lumberyard-dev/daimini/FocusMode/selection
...
LYN-5297 | Focus Mode - When a Prefab is selected other entities outside the Prefab hierarchy should not be selectable
2021-09-27 13:02:34 -05:00
Danilo Aimini
8e92ed14df
Merge branch 'development' of https://github.com/o3de/o3de into daimini/FocusMode/selection
2021-09-27 09:29:49 -07:00
Danilo Aimini
b9bd17f2ae
Merge branch 'development' of https://github.com/o3de/o3de into daimini/FocusMode/setup_tests
2021-09-27 08:39:36 -07:00
AMZN-Igarri
c75f3690da
Product/Source differentiation AssetBrowser Search View. ( #4144 )
...
* Added whole row highlight
Signed-off-by: igarri <igarri@amazon.com >
* Applied code review changes
Signed-off-by: igarri <igarri@amazon.com >
* Addressed code review comments
Signed-off-by: igarri <igarri@amazon.com >
* fixed QPointers
Signed-off-by: igarri <igarri@amazon.com >
* Added indentation to child items
Signed-off-by: igarri <igarri@amazon.com >
* Added Branch Icons
Signed-off-by: igarri <igarri@amazon.com >
* Loading icons and keeping a reference.
Signed-off-by: igarri <igarri@amazon.com >
* Fixed typos
Signed-off-by: igarri <igarri@amazon.com >
* Fixed TableView Header
Signed-off-by: igarri <igarri@amazon.com >
* Cleaned up Delegate Paint
Signed-off-by: igarri <igarri@amazon.com >
* Fixed view style
Signed-off-by: igarri <igarri@amazon.com >
* small tweaks
Signed-off-by: igarri <igarri@amazon.com >
* Added Assert
Signed-off-by: igarri <igarri@amazon.com >
* Small tweak in Table Model
Signed-off-by: igarri <igarri@amazon.com >
* Code Review Feedback
Signed-off-by: igarri <igarri@amazon.com >
* Code review Comments
Signed-off-by: igarri <igarri@amazon.com >
* Removed Comment
Signed-off-by: igarri <igarri@amazon.com >
2021-09-27 10:43:08 +01:00
Pinfel
bf58638505
Merge remote-tracking branch 'origin/development' into component-doc-links
2021-09-27 00:44:18 -04:00
Danilo Aimini
f012407506
Addressed multiple minor CR comments.
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-24 18:49:17 -07:00
Danilo Aimini
ebb996d7f1
Merge branch 'development' of https://github.com/o3de/o3de into daimini/FocusMode/breadcrumbs
2021-09-24 17:10:00 -07:00
Danilo Aimini
6753fdf799
Merge branch 'development' of https://github.com/o3de/o3de into daimini/FocusMode/selection
2021-09-24 16:46:57 -07:00
Danilo Aimini
f7e964c91d
Better replacement for EntityId checks
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-24 16:35:48 -07:00
Danilo Aimini
80e6a6903a
Remove unused CreateEditorEntity function
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-24 15:55:02 -07:00
lumberyard-employee-dm
2ce7bbd945
Moved the SettingsRegistryFileReader class to more general IO Reader ( #4189 )
...
The new FileReader class allows using either a FileIOBase or SystemFile
classes for reading files.
If a non-nullptr FileIOBase is supplied, the FileIOBase is used,
otherwise SystemFile is used.
Updated the SettingsRegistryMergeUtils
`MergeSettingsToRegistry_ConfigFile` function to use the FileReader.
This allows .cfg such as the autoexec.cfg to be read using FileIO,
therefore allowing it to be read from the engine.pak file.
Because the AZ::Console::ExecuteConfigFile uses the
`MergeSettingsToRegistry_ConfigFile` function for merging *.cfg files to
the SettingsRegistry, this allows the AZ::Console to run console
commands from files within pak files thanks to the ArchiveFileIO being
the default FileIOBase instance
Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com >
2021-09-24 17:36:26 -05:00
Danilo Aimini
72110e40cf
Add Unit tests for EditorFocusMode and PrefabFocus. Minor change to PrefabFocusHandler to avoid instantiating a new AZ::EntityId() for checks.
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-24 15:05:34 -07:00
srikappa-amzn
dcc325dfaa
Added function comments for new entity functions
...
Signed-off-by: srikappa-amzn <srikappa@amazon.com >
2021-09-24 12:16:38 -07:00
SergeyAMZN
66a875bf79
Merge pull request #4261 from aws-lumberyard-dev/MPSpawnableHolderUpdate
...
Updated NetworkSpawnableHolderComponent to use TransformBus instead o…
2021-09-24 19:06:21 +01:00
pereslav
4d11025d64
Fixed Entity::GetTransform to work for the components of an activating entity. Made the cached transform lazy evaluated.
...
Signed-off-by: pereslav <pereslav@amazon.com >
2021-09-24 13:00:40 +01:00
kberg-amzn
efda2c91e9
Cleaning up tcp socket changes
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-09-23 18:28:11 -07:00
srikappa-amzn
28c056e4fd
Added comments and changed some function names
...
Signed-off-by: srikappa-amzn <srikappa@amazon.com >
2021-09-23 18:26:39 -07:00
kberg-amzn
f837f0494b
many bug fixes
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-09-23 18:25:46 -07:00
srikappa-amzn
3c882230ed
Store the spawn ticket id inside entity instead of maintaining a map of entity to ticket
...
Signed-off-by: srikappa-amzn <srikappa@amazon.com >
2021-09-23 15:25:15 -07:00
Guthrie Adams
05b75ea33c
Merge pull request #4273 from aws-lumberyard-dev/Atom/amzn-tommy/ExposeTransformLookAtToBehaviorContext
...
Expose Transform::CreateLookAt to behavior context
2021-09-23 15:04:09 -05:00
Danilo Aimini
03372d2ea9
Made IsInFocusSubTree const, and other minor refactorings.
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-23 12:50:49 -07:00
Danilo Aimini
23357b4c93
Merge branch 'development' of https://github.com/o3de/o3de into daimini/FocusMode/selection
2021-09-23 12:28:31 -07:00
Danilo Aimini
d10cf1e495
Add guard against edge case.
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-23 10:47:21 -07:00
Danilo Aimini
3fdf1f052a
Minor comments and whitespace fixes.
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-22 16:46:21 -07:00
Danilo Aimini
be88be4bb8
Minor fixes to pass AR
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-22 16:12:11 -07:00
amzn-tommy
1e5e6094f5
Expose Transform::CreateLookAt to behavior context to use with hydra tests
...
Signed-off-by: amzn-tommy <waltont@amazon.com >
2021-09-22 15:46:29 -07:00
Danilo Aimini
55e2684471
Refactor Prefab Focus function to move reused code to helper.
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-22 15:02:58 -07:00
Danilo Aimini
7a0be4ff65
Refresh delegate painting in the Outliner even if the widget is not in focus.
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-22 15:01:49 -07:00
Danilo Aimini
e2c4dbe277
Fix warning for numeric cast.
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-22 15:01:47 -07:00
Danilo Aimini
59d7cd6058
Enable back button and introduce behavior
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-22 15:01:45 -07:00
Danilo Aimini
8ab409e4d2
Implemented the PrefabViewportFocusPathHandler class, added a breadcrumb widget to the viewport toolbar to display the currently focused prefab path.
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-22 15:01:39 -07:00
Danilo Aimini
1dd58511c1
Remove FocusModeFramework nested namespace
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-22 14:18:19 -07:00
Danilo Aimini
368c325613
Disable selection of "out of focus" entities in both Outliner and Viewport. Refactor hover/selection rect painting for branches in the Outliner to fix disabled hover state.
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-22 14:18:16 -07:00
Danilo Aimini
4ae95719de
Initialization changes to pass unit tests. Some interfaces are now retrieved on demand and there's clearer failure paths that don't involve asserts to better handle test/headless initializations.
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-22 12:44:18 -07:00
Danilo Aimini
305e62380a
Merge branch 'development' of https://github.com/o3de/o3de into daimini/FocusMode/setup
2021-09-22 10:03:42 -07:00
hultonha
b865d2aec1
Add support for camera reference frames to support camera yaw in certain situations ( #4088 )
...
* proof of concept change for fixing camera yaw rotation being ignored
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* updates to fully support camera roll
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* small fixes for PR
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* undo changes in EditorCameraComponent
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* add test to verify interaction between editor viewport view entity change and modular camera controller
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* add additional tests for updated camera behaviors
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* revert change to Camera Gem Output Name
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* move location of new files
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* fix tab/spaces issue
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* remove static from potentially unused functions
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* set camera lib name in CMakeLists.txt file
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* cosmetic CMakeLists.txt change
Signed-off-by: hultonha <hultonha@amazon.co.uk >
2021-09-22 09:08:24 +01:00
kberg-amzn
e8aeb9b101
Format fixing
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-09-21 19:37:54 -07:00
kberg-amzn
d28bcbe027
Reverts changes to component application and adds further client migration handling hookup
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-09-21 19:33:59 -07:00
Danilo Aimini
ceed8f692b
Do not assert if m_focusModeInterface can't be initialized
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-21 17:16:27 -07:00
nvsickle
bcfe3d3878
Revert "Refresh rate driven rendering tick logic ( #3375 )"
...
This reverts commit db63dcbcd9 .
Signed-off-by: nvsickle <nvsickle@amazon.com >
2021-09-21 16:47:24 -07:00
Danilo Aimini
f14e8d6eac
Fix header formatting to pass validation
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-21 15:06:29 -07:00
Danilo Aimini
107732d057
Remove pragma once from cpp file
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-21 13:45:39 -07:00
kberg-amzn
a3aaebe83e
merging latest main
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-09-21 11:55:40 -07:00
Danilo Aimini
df10b56f2a
ClearFocusRoot implementation
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-21 10:47:02 -07:00