You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Code/Framework/AzToolsFramework/AzToolsFramework
lumberyard-employee-dm 669caca9cc
Updated Launching of Lua Editor to supply the project-path (#7706)
* Updated Launching of Lua Editor to supply the project-path

The Lua Launch logic also uses the AzFramework ProcessLauncher instead
of Qt. This has the benefit of being able to pass arguments as an array
instead of in a single string. Therefore paths with spaces in them also
work.

Tweak the Settings Registry logic to locate the
project-path/engine-path by scanning upwards for a
project.json/engine.json respectively to inject the found paths to the
front of the command line parameters instead of the back.
This has the effect of making sure that command line parameters for the
project-path/engine-path always takes precedence over scanning upwards
for a project.json/engine.json.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Removed prepend of EngineRoot in CheckProjectPathProvided

The Editor would attempt to validate that the project path supplied via
the command line contained a valid project.json file before contining
the Editor startup flow.

This was taking the engine root path and appending the project path to
it, which works when the project path is absolute

But when the project path is relative it is treated as relative to the
current working directory by the SettingsRegistry, but the logic in the
CheckProjectPathProvided was treating it has relative to the engine
root. Therefore supplying a relative path as part of the Editor.exe
launch command would fail.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Fixed resolving of relative paths to absolute paths in the Editor

The Editor was changing the current working directory to the nearest
ancestor directory containing an `engine.json` file.
This resulted in the ConvertToAbsolutePath function resolving relative
paths to that directory instead of the launch directory of the Editor.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
4 years ago
..
API Prefabs UI | Refactor PrefabIntegrationManager into a separate class for save/load dialog management. (#7630) 4 years ago
Application [LYN-7064] Hot Loading of Procedural Prefabs (#4923) 4 years ago
Archive Removes NullArchiveComponent from AzToolsFramework 4 years ago
Asset [LYN-8041] Enable relocation of the Project Game Release Layout (#5380) 4 years ago
AssetBrowser Removing thumbnail context from thumbnail system 4 years ago
AssetBundle Deprecate IsPrefabSystemForLevelsEnabled and use IsPrefabSystemEnabled everywhere (#7327) 4 years ago
AssetCatalog Add support for configuring default Archive File Search Mode through a Cache Var (#5668) 4 years ago
AssetDatabase Removing unneded include form multiple files 4 years ago
AssetEditor Fix Issue saving new assets in Asset Editor on Linux (#4537) 4 years ago
Commands removes Commands/EntityTransformCommand from AzToolsFramework 4 years ago
Component SetComponentProperty is now supported by undo operation (#5599) 4 years ago
ComponentMode Address PR comments. 4 years ago
ComponentModes update bus usage to new preferred convention 4 years ago
ContainerEntity LYN-7054 + LYN-7704 | Exit Focus Mode when starting Game Mode, correct painting of Prefab capsules in Outliner. (#5280) 4 years ago
Debug Removes TraceContextBufferedFormatter from AzToolsFramework 4 years ago
Editor Fix: Entity Outliner: Outliner is unusable with the Editor in slice mode (#6983) 4 years ago
Entity Prefabs UI | Refactor PrefabIntegrationManager into a separate class for save/load dialog management. (#7630) 4 years ago
Fingerprinting Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
FocusMode Focus Mode | Improvements to GetFocusedEntities (#7708) 4 years ago
Input chore: correct test case MouseMove_NoAzHandlers_VerifyMouseMovementViewport 4 years ago
Logger Merging from development 4 years ago
Manipulators Allow SurfaceManipulator to self-intersect when holding Ctrl (#6453) 4 years ago
Maths Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Picking chore: remove equality from boolean expression 4 years ago
Prefab Focus Mode | Make Ctrl+S shortcut contextual to Prefab Focus (#7649) 4 years ago
PropertyTreeEditor Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
PythonTerminal fixing hidden variable warning 4 years ago
Render Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
SQLite [LYN-4034] Asset Processor: Sqlite inclusivity fix (#7291) 4 years ago
Script Added Hydra API to extract all the classes, globals and EBuses exposed (#4953) 4 years ago
Slice Clang 13: Fix build errors ... 4 years ago
SourceControl Undo P4 check before spawning thread and fix usage of new AzToolsApplication trait (#4894) 4 years ago
Thumbnails Removing thumbnail context from thumbnail system 4 years ago
ToolsComponents Merge pull request #7609 from aws-lumberyard-dev/math_string_converters 4 years ago
ToolsFileUtils Fixes for Linux no unity builds 4 years ago
ToolsMessaging Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
UI Updated Launching of Lua Editor to supply the project-path (#7706) 4 years ago
Undo Add AZ_BUDGET_DEFINE/AZ_BUDGET_DECLARE and remove driller 4 years ago
UnitTest Focus Mode | Improvements to GetFocusedEntities (#7708) 4 years ago
Viewport Add manipulator for atom render plugin in animation editor. (#7068) 4 years ago
ViewportSelection Prefabs UI | Refactor PrefabIntegrationManager into a separate class for save/load dialog management. (#7630) 4 years ago
ViewportUi Merge commit 'e50735c127d9a3a8e5f38fc737222e4b542a54f8' into puvvadar/gitflow_211118_o3de 4 years ago
AzToolsFrameworkModule.cpp [LYN-7064] Hot Loading of Procedural Prefabs (#4923) 4 years ago
AzToolsFrameworkModule.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
aztoolsframework_files.cmake Prefabs UI | Refactor PrefabIntegrationManager into a separate class for save/load dialog management. (#7630) 4 years ago
aztoolsframework_linux_files.cmake Fixes for Linux no unity builds 4 years ago
aztoolsframework_linux_tests_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
aztoolsframework_mac_files.cmake Fixes for Linux no unity builds 4 years ago
aztoolsframework_windows_files.cmake Removes UIFrameworkAPI.cpp from AzToolsFramework 4 years ago
aztoolsframeworktestcommon_files.cmake Fix incorrect icon rendering (#6454) 4 years ago