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/Gems/ScriptCanvas/Assets/TranslationAssets/GlobalMethods
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
..
CreateBoxCastRequest.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
CreateBoxOverlapRequest.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
CreateCapsuleCastRequest.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
CreateCapsuleOverlapRequest.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
CreateSphereCastRequest.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
CreateSphereOverlapRequest.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
GetPhysicsSystem.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
SaveShaderVariantListSourceData.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
SettingsRegistry.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
Terminate.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
add_layer_node.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
add_node.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
add_selected_entities.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
add_track.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
attach_debugger.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
bind_viewport.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
clear_selection.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
close_pane.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
combo_box.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
crash.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
create_level.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
create_level_no_prompt.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
delete_node.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
delete_object.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
delete_selected.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
delete_sequence.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
delete_track.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
draw_label.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
dump_exposed_classes.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
edit_box.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
edit_box_check_data_type.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
enable_for_all.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
enter_game_mode.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
enter_simulation_mode.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
execute_command.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
exit.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
exit_game_mode.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
exit_no_prompt.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
exit_simulation_mode.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
export_to_engine.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
find_editor_entity.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
find_game_entity.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
freeze_object.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_active_viewport.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_all_objects.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_axis_constraint.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_config_platform.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_config_spec.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_current_level_name.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_current_level_path.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_current_view_position.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_current_view_rotation.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_cvar.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_file_alias.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_game_folder.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_interpolated_value.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_key_value.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_misc_editor_settings.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_names_of_selected_objects.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_node_name.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_num_nodes.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_num_selected.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_num_sequences.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_num_track_keys.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_pak_from_file.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_pane_class_names.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_position.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_rotation.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_scale.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_selection_aabb.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_selection_center.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_sequence_name.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_sequence_time_range.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_view_pane_layout.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_viewport_count.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_viewport_expansion_policy.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
get_viewport_size.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
hide_all_objects.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
hide_object.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
idle_enable.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
idle_is_enabled.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
idle_wait.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
idle_wait_frames.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
is_helpers_shown.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
is_idle_enabled.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
is_in_game_mode.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
is_in_simulation_mode.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
is_object_frozen.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
is_object_hidden.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
is_pane_visible.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
launch_lua_editor.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
load_all_plugins.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
log.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
message_box.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
message_box_ok.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
message_box_yes_no.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
new_sequence.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
open_file_box.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
open_level.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
open_level_no_prompt.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
open_pane.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
play_sequence.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
redo.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
reload_current_level.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
rename_object.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
resize_viewport.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
run_console.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
run_file.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
run_file_parameters.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
save_level.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
select_object.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
select_objects.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
set_active_viewport.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
set_axis_constraint.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
set_config_spec.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
set_current_sequence.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
set_current_view_position.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
set_current_view_rotation.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
set_cvar.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
set_cvar_float.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
set_cvar_integer.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
set_cvar_string.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
set_misc_editor_settings.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
set_position.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
set_recording.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
set_result_to_failure.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
set_result_to_success.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
set_rotation.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
set_scale.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
set_sequence_time_range.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
set_time.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
set_view_pane_layout.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
set_viewport_expansion_policy.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
set_viewport_size.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
stop_sequence.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
test_output.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
toggle_helpers.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
undo.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
unfreeze_object.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
unhide_all_objects.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
unhide_object.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
unselect_objects.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
update_viewport.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago
wait_for_debugger.names Updated all names files to use 'base' instead of 'key' to avoid validation issues 4 years ago