hultonha
c34b6ffe3b
Overhaul of how camera orbit/pivot behavior works ( #4345 )
...
* overhaul to how camera orbit/pivot behavior works
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* update naming from orbit to pivot
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* fix camera unit tests
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* add additional tests for new camera pivot behavior
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* fix comment and add additional info for tests
Signed-off-by: hultonha <hultonha@amazon.co.uk >
2021-09-29 10:11:49 +01:00
Nicholas Van Sickle
a692ae1567
Restore event listening behavior in EntityOutlinerListModel ( #4254 )
...
Disables a problematic child reparenting code path in EditorEntityModel that led to the series of remove -> add -> remove notifications for reparented entities that led to unnecessary updates and a sporadic QSortFilterProxyModel crash
Signed-off-by: nvsickle <nvsickle@amazon.com >
2021-09-28 14:57:09 -07:00
Chris Galvan
6f8afd69d4
Merge pull request #4372 from aws-lumberyard-dev/daimini/4364/restore-layout-fix
...
Editor crashes after changing the layout when the Prefab system is enabled
2021-09-28 14:20:37 -05:00
Mikhail Naumov
e958b0e09c
No longer can instantiate prefabs in an empty level ( #4277 )
...
* No longer can instantiate prefabs in an empty level
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* PR feedback from Ram
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* removing tab
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* PR feedback
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Implement Project Manager 'build' button for Mac and Linux(#4248 )
Signed-off-by: Steve Pham <spham@amazon.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Remove the PrefabEditManager. Introduce the FocusMode system on the Editor side, and a PrefabFocusHandler on the Prefab side to handle focus.
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Changed FocusOnOwningPrefab to return Outcome. Added comments and error checking.
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Remove assert for edge case that can actually happen in normal circumstances, simply return false in those cases.
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Remove nested FocusModeFramework namespace
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Minor fixes to variable names and comments.
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* ClearFocusRoot implementation
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Remove pragma once from cpp file
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Fix header formatting to pass validation
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Do not assert if m_focusModeInterface can't be initialized
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* 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 >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* LYN-6793 [iOS] [asset_profile] 4 assets fail to process for iOS (#4268 )
* LYN-6793 [iOS] [asset_profile] 4 assets fail to process for iOS
The issue was because the compression of ETC formats took too long.
Replaced all ETC and PVRTC formats with ASTC formats.
Update all pixel operation for formats with single R channel to align the change with R8.
Signed-off-by: Qing Tao <qingtao@amazon.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Use resize_no_construct when creating a buffer asset, since the initial data is going to be memcopy'd anyways. (#4249 )
Signed-off-by: amzn-tommy <waltont@amazon.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Fix a minor spelling mistake (#4247 )
Signed-off-by: amzn-tommy <waltont@amazon.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* 1. Update iOS deployment target to 14 (#4266 )
2. Set MacOS default deployment target to 11.
Signed-off-by: amzn-sj <srikkant@amazon.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Debug build clang fixes
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Fix failed 'server' platform assets on Linux related to Shaders (#4275 )
* Add missing 'server' platform identifier for the ShaderBuilder
* Use the current host platform as the fallback platform identifier (and not 'pc')
Signed-off-by: Steve Pham <spham@amazon.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* [development] Atom CPU profiler include cleanup (#4272 )
- Removed all unnecessary includes to Atom CpuProfiler.h
- Added includes to AzCore Profiler.h where necessary
Signed-off-by: AMZN-ScottR 24445312+AMZN-ScottR@users.noreply.github.com
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Add guard against edge case.
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Expose Transform::CreateLookAt to behavior context to use with hydra tests
Signed-off-by: amzn-tommy <waltont@amazon.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Cached BLAS objects at the sub-mesh level
Signed-off-by: dmcdiar <dmcdiar@amazon.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* EMotion FX: Asset Processor generates an Actor for every FBX (#4284 )
Fixing the actor behavior to ignore actor asset generation for files that only contain nodes/bones. We're only checking for blend shapes and skins now. In case neither is present in an FBX, we don't export the actor asset.
This makes a plain skeleton a special case where users manually need to add the actor group for the fbx. The most common use case for these are animation files anyway, where we don't want to export actor assets.
Also increased the version number of the actor group so that they are all getting reprocessed and the unneeded actor assets get removed.
Signed-off-by: Benjamin Jillich <jillich@amazon.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* EMotion FX: Crash in the actor builder when fbx meta data contains node groups (#4283 )
Fixing a crash related to the small array conversion that made multiple assets crash the actor builder.
Signed-off-by: Benjamin Jillich <jillich@amazon.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Project Manager Gem Dependencies (#4132 )
* Fix engine API change and add gem dependencies
Signed-off-by: AMZN-alexpete <26804013+AMZN-alexpete@users.noreply.github.com >
* Add GemCatalog dependency test
Signed-off-by: AMZN-alexpete <26804013+AMZN-alexpete@users.noreply.github.com >
* Clarify display name and fix missing const
Signed-off-by: AMZN-alexpete <26804013+AMZN-alexpete@users.noreply.github.com >
* Moving a couple helper functions into private scope
Signed-off-by: AMZN-alexpete <26804013+AMZN-alexpete@users.noreply.github.com >
* Update gem count when unselecting a gem #4074
This addresses the following issue https://github.com/o3de/o3de/issues/4074
Signed-off-by: AMZN-alexpete <26804013+AMZN-alexpete@users.noreply.github.com >
* Active/Inactive filter and dependency tooltips
Signed-off-by: AMZN-alexpete <26804013+AMZN-alexpete@users.noreply.github.com >
* Accessors for previously added and dependencies
Signed-off-by: AMZN-alexpete <26804013+AMZN-alexpete@users.noreply.github.com >
* Cart displays gem dependency changes
Signed-off-by: AMZN-alexpete <26804013+AMZN-alexpete@users.noreply.github.com >
* Shorten titles to fit in summary popup
Signed-off-by: AMZN-alexpete <26804013+AMZN-alexpete@users.noreply.github.com >
* Remove QString::number
Signed-off-by: AMZN-alexpete <26804013+AMZN-alexpete@users.noreply.github.com >
* Remove extra space
Signed-off-by: AMZN-alexpete <26804013+AMZN-alexpete@users.noreply.github.com >
* Consolidate source model accesor helpers
Signed-off-by: AMZN-alexpete <26804013+AMZN-alexpete@users.noreply.github.com >
* Addressing minor feedback
Signed-off-by: AMZN-alexpete <26804013+AMZN-alexpete@users.noreply.github.com >
* Remove unused local variable
Signed-off-by: AMZN-alexpete <26804013+AMZN-alexpete@users.noreply.github.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Fix AutoGen of RPCs with no params
Signed-off-by: puvvadar <puvvadar@amazon.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Adds Inspector to Gem Repo Screen (#4242 )
* Adds the gem repo screen with the UI built but with mocked data and not connected to the o3de scripts
Signed-off-by: nggieber <nggieber@amazon.com >
* Changed name of added to enabled, disabled define, removed unused functions
Signed-off-by: nggieber <nggieber@amazon.com >
* Added Repo Screen Inspector UI
Signed-off-by: nggieber <nggieber@amazon.com >
* Addressed minor PR feedback
Signed-off-by: nggieber <nggieber@amazon.com >
* Add some more minor PR changes
Signed-off-by: nggieber <nggieber@amazon.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Updated NetworkSpawnableHolderComponent to use TransformBus instead of FindComponent. Added dependency on TransformService
Signed-off-by: pereslav <pereslav@amazon.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* 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 >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Changed NetworkSpawnableHolderComponent to use Entity::GetTransform instead of an ebus call
Signed-off-by: pereslav <pereslav@amazon.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Moved local variable to a smaller scope
Signed-off-by: pereslav <pereslav@amazon.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Signed-off-by: LesaelR <LesaelR@amazon.com > (#4278 )
* Signed-off-by: LesaelR <LesaelR@amazon.com >
* Removing the un-needed sandbox marks.
Signed-off-by: LesaelR <LesaelR@amazon.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Small fix for color node tooltip to ask for values 0-1 instead of 0-255
Signed-off-by: Gene Walters <genewalt@amazon.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Exposing NetworkCharacterComponent::TryMoveWithVelocity to script. Updating Multiplayer AutoComponent baseclass behavior context to Reflect itself instead of its derived (human made) component. This is so the derived class can also create behaviorcontext classes of its own if needed. Misc copyright header edit.
Signed-off-by: Gene Walters <genewalt@amazon.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Make sure Multiplayer AutoComponents dont generate property OnChange script events if GenerateEventBindings is disabled
Signed-off-by: Gene Walters <genewalt@amazon.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Adding parameter names to NetworkCharacterComponent script events so people know what the parameters are used for in scriptcanvas
Signed-off-by: Gene Walters <genewalt@amazon.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Small fix to use AZ_CRC_CE
Signed-off-by: Gene Walters <genewalt@amazon.com >
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Disabling some tests when prefab mode is enabled
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Revert "Disabling some tests when prefab mode is enabled"
This reverts commit 3fe9358d42ec9d7fa5ffaee458e4c6ca3ecbed6e.
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Revert "PR feedback"
This reverts commit a5b86d1954974b950b7719d1bc7dd56bc2a2a21b.
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Revert "removing tab"
This reverts commit ff6ef4bfb514d82a1b668baa95901ad363e648d0.
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Revert "PR feedback from Ram"
This reverts commit cba7f9c2a114d3bb51c9b64f38a7e1fef7bb8fe8.
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
* Renaming level->rootInstance
Signed-off-by: Mikhail Naumov <mnaumov@amazon.com >
Co-authored-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com >
Co-authored-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
Co-authored-by: Qing Tao <55564570+VickyAtAZ@users.noreply.github.com >
Co-authored-by: Tommy Walton <82672795+amzn-tommy@users.noreply.github.com >
Co-authored-by: SJ <srikkant@amazon.com >
Co-authored-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com >
Co-authored-by: Scott Romero <24445312+AMZN-ScottR@users.noreply.github.com >
Co-authored-by: amzn-tommy <waltont@amazon.com >
Co-authored-by: dmcdiar <dmcdiar@amazon.com >
Co-authored-by: Benjamin Jillich <43751992+amzn-jillich@users.noreply.github.com >
Co-authored-by: Alex Peterson <26804013+AMZN-alexpete@users.noreply.github.com >
Co-authored-by: puvvadar <puvvadar@amazon.com >
Co-authored-by: AMZN-nggieber <52797929+AMZN-nggieber@users.noreply.github.com >
Co-authored-by: pereslav <pereslav@amazon.com >
Co-authored-by: LesaelR <89800757+LesaelR@users.noreply.github.com >
Co-authored-by: Gene Walters <genewalt@amazon.com >
2021-09-28 12:07:56 -07:00
Danilo Aimini
a641586df2
Move FocusModeInterface retrieval to EntityOutlinerListModel constructor to prevent crash on widget refresh. Also force expansion of root on construction for the same reason.
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-28 10:02:47 -07:00
srikappa-amzn
27e93e3af7
Merge branch 'development' into Prefab/DestroyGameEntitySupport
...
Signed-off-by: srikappa-amzn <srikappa@amazon.com >
2021-09-28 06:57:38 -07:00
srikappa-amzn
9078d1925a
Mock newly added methods to SpawnableEntitiesInterface
...
Signed-off-by: srikappa-amzn <srikappa@amazon.com >
2021-09-28 06:42:53 -07:00
AMZN-Igarri
1f6dfd0194
Asset Browser Search View Column Resizing ( #4087 )
...
* Added resizing
Signed-off-by: igarri <igarri@amazon.com >
* Added Signals and Slots for resizing columns
Signed-off-by: igarri <igarri@amazon.com >
* Cleaned up code
Signed-off-by: igarri <igarri@amazon.com >
* Fixed Column Resize when docking
Signed-off-by: igarri <igarri@amazon.com >
* Added constants
Signed-off-by: igarri <igarri@amazon.com >
* Applied Code review feedback
Signed-off-by: igarri <igarri@amazon.com >
* aplied more feedback
Signed-off-by: igarri <igarri@amazon.com >
* Addressed Code Review Comments
Signed-off-by: igarri <igarri@amazon.com >
* Fixing bad merge
Signed-off-by: igarri <igarri@amazon.com >
* Added fix in initialization
Signed-off-by: igarri <igarri@amazon.com >
* Changed header setup sequence
Signed-off-by: igarri <igarri@amazon.com >
2021-09-28 12:47:21 +01:00
hultonha
7da866e81a
Update to how entity space is treated in the viewport ( #4263 )
...
* first pass fixes for how entity space is handled in the viewport interaction model
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* small updates to simplify space handling
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* fix for influence group with one entity selected
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* some tidy-up and fix for scale manipulator snapping
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* couple of small fixes for scale manipulator
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* small comment update
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* fixes for integration test failures
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* add test for rotation manipulator
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* add test coverage for rotation manipulators
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* add tests for translation manipulators and some other tidy-up changes
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* add tests for translating a group of entities
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* add some tests for scale manipulators
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* some updates and formatting changes (clang-format) to ViewportScreen
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* simplify usage of lround code
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* update missed name updates
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* update usage of WorldToScreenNdc
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* updates following review feedback
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* some more small tidy-up changes
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* move static variables to be marked inline
Signed-off-by: hultonha <hultonha@amazon.co.uk >
* small formatting fixes
Signed-off-by: hultonha <hultonha@amazon.co.uk >
2021-09-28 09:26:20 +01: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
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
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
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
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
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
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
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
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
Danilo Aimini
271bd3c2a6
Merge branch 'development' of https://github.com/o3de/o3de into daimini/FocusMode/setup
2021-09-21 10:45:40 -07:00
Chris Burel
19747cb5c6
Link to xcb as system-provided targets, instead of by direct library path ( #4221 )
...
Signed-off-by: Chris Burel <burelc@amazon.com >
2021-09-21 12:31:42 -05:00
Danilo Aimini
5a4476a0e4
Minor fixes to variable names and comments.
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-21 10:26:41 -07:00
Danilo Aimini
b8c78caa2f
Remove nested FocusModeFramework namespace
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-21 09:48:09 -07:00
Danilo Aimini
29d7fcb55e
Merge branch 'development' of https://github.com/o3de/o3de into daimini/FocusMode/setup
2021-09-21 09:41:36 -07:00
AMZN-Igarri
7fca57a169
Fixed Assert ( #4234 )
...
Signed-off-by: igarri <igarri@amazon.com >
2021-09-21 14:55:10 +01:00
Danilo Aimini
9c400bbd9d
Merge branch 'development' of https://github.com/o3de/o3de into daimini/FocusMode/setup
2021-09-20 13:44:41 -07:00
Danilo Aimini
489a93cf91
Remove assert for edge case that can actually happen in normal circumstances, simply return false in those cases.
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com >
2021-09-20 13:44:25 -07:00