Merge branch 'development' into optimization/unused_files

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>

# Conflicts:
#	Code/Editor/IEditorImpl.cpp
#	Code/Editor/IEditorImpl.h
#	Gems/LmbrCentral/Code/Tests/lmbrcentral_editor_tests_files.cmake
This commit is contained in:
Esteban Papp
2022-01-25 15:40:30 -08:00
871 changed files with 19489 additions and 7437 deletions
@@ -1,50 +0,0 @@
{
"entries": [
{
"base": "AuthorityToAutonomousNoParams Notify Event",
"context": "AZEventHandler",
"variant": "",
"details": {
"name": "Authority To Autonomous No Params Notify Event"
},
"slots": [
{
"base": "AuthorityToAutonomousNoParams Notify Event",
"details": {
"name": "AuthorityToAutonomousNoParams Notify Event"
}
},
{
"base": "Connect",
"details": {
"name": "Connect"
}
},
{
"base": "Disconnect",
"details": {
"name": "Disconnect"
}
},
{
"base": "On Connected",
"details": {
"name": "On Connected"
}
},
{
"base": "On Disconnected",
"details": {
"name": "On Disconnected"
}
},
{
"base": "OnEvent",
"details": {
"name": "OnEvent"
}
}
]
}
]
}
@@ -1,56 +0,0 @@
{
"entries": [
{
"base": "AuthorityToAutonomous Notify Event",
"context": "AZEventHandler",
"variant": "",
"details": {
"name": "Authority To Autonomous Notify Event"
},
"slots": [
{
"base": "someFloat",
"details": {
"name": "someFloat"
}
},
{
"base": "AuthorityToAutonomous Notify Event",
"details": {
"name": "AuthorityToAutonomous Notify Event"
}
},
{
"base": "Connect",
"details": {
"name": "Connect"
}
},
{
"base": "Disconnect",
"details": {
"name": "Disconnect"
}
},
{
"base": "On Connected",
"details": {
"name": "On Connected"
}
},
{
"base": "On Disconnected",
"details": {
"name": "On Disconnected"
}
},
{
"base": "OnEvent",
"details": {
"name": "OnEvent"
}
}
]
}
]
}
@@ -1,50 +0,0 @@
{
"entries": [
{
"base": "AuthorityToClientNoParams Notify Event",
"context": "AZEventHandler",
"variant": "",
"details": {
"name": "Authority To Client No Params Notify Event"
},
"slots": [
{
"base": "AuthorityToClientNoParams Notify Event",
"details": {
"name": "AuthorityToClientNoParams Notify Event"
}
},
{
"base": "Connect",
"details": {
"name": "Connect"
}
},
{
"base": "Disconnect",
"details": {
"name": "Disconnect"
}
},
{
"base": "On Connected",
"details": {
"name": "On Connected"
}
},
{
"base": "On Disconnected",
"details": {
"name": "On Disconnected"
}
},
{
"base": "OnEvent",
"details": {
"name": "OnEvent"
}
}
]
}
]
}
@@ -1,56 +0,0 @@
{
"entries": [
{
"base": "AuthorityToClient Notify Event",
"context": "AZEventHandler",
"variant": "",
"details": {
"name": "Authority To Client Notify Event"
},
"slots": [
{
"base": "someFloat",
"details": {
"name": "someFloat"
}
},
{
"base": "AuthorityToClient Notify Event",
"details": {
"name": "AuthorityToClient Notify Event"
}
},
{
"base": "Connect",
"details": {
"name": "Connect"
}
},
{
"base": "Disconnect",
"details": {
"name": "Disconnect"
}
},
{
"base": "On Connected",
"details": {
"name": "On Connected"
}
},
{
"base": "On Disconnected",
"details": {
"name": "On Disconnected"
}
},
{
"base": "OnEvent",
"details": {
"name": "OnEvent"
}
}
]
}
]
}
@@ -1,50 +0,0 @@
{
"entries": [
{
"base": "AutonomousToAuthorityNoParams Notify Event",
"context": "AZEventHandler",
"variant": "",
"details": {
"name": "Autonomous To Authority No Params Notify Event"
},
"slots": [
{
"base": "AutonomousToAuthorityNoParams Notify Event",
"details": {
"name": "AutonomousToAuthorityNoParams Notify Event"
}
},
{
"base": "Connect",
"details": {
"name": "Connect"
}
},
{
"base": "Disconnect",
"details": {
"name": "Disconnect"
}
},
{
"base": "On Connected",
"details": {
"name": "On Connected"
}
},
{
"base": "On Disconnected",
"details": {
"name": "On Disconnected"
}
},
{
"base": "OnEvent",
"details": {
"name": "OnEvent"
}
}
]
}
]
}
@@ -1,56 +0,0 @@
{
"entries": [
{
"base": "AutonomousToAuthority Notify Event",
"context": "AZEventHandler",
"variant": "",
"details": {
"name": "Autonomous To Authority Notify Event"
},
"slots": [
{
"base": "someFloat",
"details": {
"name": "someFloat"
}
},
{
"base": "AutonomousToAuthority Notify Event",
"details": {
"name": "AutonomousToAuthority Notify Event"
}
},
{
"base": "Connect",
"details": {
"name": "Connect"
}
},
{
"base": "Disconnect",
"details": {
"name": "Disconnect"
}
},
{
"base": "On Connected",
"details": {
"name": "On Connected"
}
},
{
"base": "On Disconnected",
"details": {
"name": "On Disconnected"
}
},
{
"base": "OnEvent",
"details": {
"name": "OnEvent"
}
}
]
}
]
}
@@ -1,50 +0,0 @@
{
"entries": [
{
"base": "ServerToAuthorityNoParam Notify Event",
"context": "AZEventHandler",
"variant": "",
"details": {
"name": "Server To Authority No Param Notify Event"
},
"slots": [
{
"base": "ServerToAuthorityNoParam Notify Event",
"details": {
"name": "ServerToAuthorityNoParam Notify Event"
}
},
{
"base": "Connect",
"details": {
"name": "Connect"
}
},
{
"base": "Disconnect",
"details": {
"name": "Disconnect"
}
},
{
"base": "On Connected",
"details": {
"name": "On Connected"
}
},
{
"base": "On Disconnected",
"details": {
"name": "On Disconnected"
}
},
{
"base": "OnEvent",
"details": {
"name": "OnEvent"
}
}
]
}
]
}
@@ -1,56 +0,0 @@
{
"entries": [
{
"base": "ServerToAuthority Notify Event",
"context": "AZEventHandler",
"variant": "",
"details": {
"name": "Server To Authority Notify Event"
},
"slots": [
{
"base": "someFloat",
"details": {
"name": "someFloat"
}
},
{
"base": "ServerToAuthority Notify Event",
"details": {
"name": "ServerToAuthority Notify Event"
}
},
{
"base": "Connect",
"details": {
"name": "Connect"
}
},
{
"base": "Disconnect",
"details": {
"name": "Disconnect"
}
},
{
"base": "On Connected",
"details": {
"name": "On Connected"
}
},
{
"base": "On Disconnected",
"details": {
"name": "On Disconnected"
}
},
{
"base": "OnEvent",
"details": {
"name": "OnEvent"
}
}
]
}
]
}
@@ -5,7 +5,8 @@
"context": "BehaviorClass",
"variant": "",
"details": {
"name": "Material Data"
"name": "Material Data",
"category": "Rendering"
},
"methods": [
{
@@ -1,438 +0,0 @@
{
"entries": [
{
"base": "NetworkTestPlayerComponent",
"context": "BehaviorClass",
"variant": "",
"details": {
"name": "Network Test Player Component"
},
"methods": [
{
"base": "AutonomousToAuthority",
"context": "NetworkTestPlayerComponent",
"entry": {
"name": "In",
"tooltip": "When signaled, this will invoke Autonomous To Authority"
},
"exit": {
"name": "Out",
"tooltip": "Signaled after Autonomous To Authority is invoked"
},
"details": {
"name": "Autonomous To Authority"
},
"params": [
{
"typeid": "{CA5E5C37-98A6-04D2-E15C-1B4BFEE4C7DD}",
"details": {
"name": "Network Test Player Component"
}
},
{
"typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}",
"details": {
"name": "float"
}
}
]
},
{
"base": "ServerToAuthority",
"context": "NetworkTestPlayerComponent",
"entry": {
"name": "In",
"tooltip": "When signaled, this will invoke Server To Authority"
},
"exit": {
"name": "Out",
"tooltip": "Signaled after Server To Authority is invoked"
},
"details": {
"name": "Server To Authority"
},
"params": [
{
"typeid": "{CA5E5C37-98A6-04D2-E15C-1B4BFEE4C7DD}",
"details": {
"name": "Network Test Player Component"
}
},
{
"typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}",
"details": {
"name": "float"
}
}
]
},
{
"base": "AutonomousToAuthorityByEntityId",
"context": "NetworkTestPlayerComponent",
"entry": {
"name": "In",
"tooltip": "When signaled, this will invoke Autonomous To Authority By Entity Id"
},
"exit": {
"name": "Out",
"tooltip": "Signaled after Autonomous To Authority By Entity Id is invoked"
},
"details": {
"name": "Autonomous To Authority By Entity Id"
},
"params": [
{
"typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}",
"details": {
"name": "Source",
"tooltip": "The Source containing the NetworkTestPlayerComponentController"
}
},
{
"typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}",
"details": {
"name": "some Float"
}
}
]
},
{
"base": "ServerToAuthorityByEntityId",
"context": "NetworkTestPlayerComponent",
"entry": {
"name": "In",
"tooltip": "When signaled, this will invoke Server To Authority By Entity Id"
},
"exit": {
"name": "Out",
"tooltip": "Signaled after Server To Authority By Entity Id is invoked"
},
"details": {
"name": "Server To Authority By Entity Id"
},
"params": [
{
"typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}",
"details": {
"name": "Source",
"tooltip": "The Source containing the NetworkTestPlayerComponentController"
}
},
{
"typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}",
"details": {
"name": "some Float"
}
}
]
},
{
"base": "AutonomousToAuthorityNoParams",
"context": "NetworkTestPlayerComponent",
"entry": {
"name": "In",
"tooltip": "When signaled, this will invoke Autonomous To Authority No Params"
},
"exit": {
"name": "Out",
"tooltip": "Signaled after Autonomous To Authority No Params is invoked"
},
"details": {
"name": "Autonomous To Authority No Params"
},
"params": [
{
"typeid": "{CA5E5C37-98A6-04D2-E15C-1B4BFEE4C7DD}",
"details": {
"name": "Network Test Player Component"
}
}
]
},
{
"base": "AuthorityToAutonomous",
"context": "NetworkTestPlayerComponent",
"entry": {
"name": "In",
"tooltip": "When signaled, this will invoke Authority To Autonomous"
},
"exit": {
"name": "Out",
"tooltip": "Signaled after Authority To Autonomous is invoked"
},
"details": {
"name": "Authority To Autonomous"
},
"params": [
{
"typeid": "{CA5E5C37-98A6-04D2-E15C-1B4BFEE4C7DD}",
"details": {
"name": "Network Test Player Component"
}
},
{
"typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}",
"details": {
"name": "float"
}
}
]
},
{
"base": "AuthorityToClientNoParams",
"context": "NetworkTestPlayerComponent",
"entry": {
"name": "In",
"tooltip": "When signaled, this will invoke Authority To Client No Params"
},
"exit": {
"name": "Out",
"tooltip": "Signaled after Authority To Client No Params is invoked"
},
"details": {
"name": "Authority To Client No Params"
},
"params": [
{
"typeid": "{CA5E5C37-98A6-04D2-E15C-1B4BFEE4C7DD}",
"details": {
"name": "Network Test Player Component"
}
}
]
},
{
"base": "AuthorityToClientByEntityId",
"context": "NetworkTestPlayerComponent",
"entry": {
"name": "In",
"tooltip": "When signaled, this will invoke Authority To Client By Entity Id"
},
"exit": {
"name": "Out",
"tooltip": "Signaled after Authority To Client By Entity Id is invoked"
},
"details": {
"name": "Authority To Client By Entity Id"
},
"params": [
{
"typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}",
"details": {
"name": "Source",
"tooltip": "The Source containing the NetworkTestPlayerComponentController"
}
},
{
"typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}",
"details": {
"name": "some Float"
}
}
]
},
{
"base": "AuthorityToClient",
"context": "NetworkTestPlayerComponent",
"entry": {
"name": "In",
"tooltip": "When signaled, this will invoke Authority To Client"
},
"exit": {
"name": "Out",
"tooltip": "Signaled after Authority To Client is invoked"
},
"details": {
"name": "Authority To Client"
},
"params": [
{
"typeid": "{CA5E5C37-98A6-04D2-E15C-1B4BFEE4C7DD}",
"details": {
"name": "Network Test Player Component"
}
},
{
"typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}",
"details": {
"name": "float"
}
}
]
},
{
"base": "AuthorityToAutonomousNoParams",
"context": "NetworkTestPlayerComponent",
"entry": {
"name": "In",
"tooltip": "When signaled, this will invoke Authority To Autonomous No Params"
},
"exit": {
"name": "Out",
"tooltip": "Signaled after Authority To Autonomous No Params is invoked"
},
"details": {
"name": "Authority To Autonomous No Params"
},
"params": [
{
"typeid": "{CA5E5C37-98A6-04D2-E15C-1B4BFEE4C7DD}",
"details": {
"name": "Network Test Player Component"
}
}
]
},
{
"base": "ServerToAuthorityNoParamByEntityId",
"context": "NetworkTestPlayerComponent",
"entry": {
"name": "In",
"tooltip": "When signaled, this will invoke Server To Authority No Param By Entity Id"
},
"exit": {
"name": "Out",
"tooltip": "Signaled after Server To Authority No Param By Entity Id is invoked"
},
"details": {
"name": "Server To Authority No Param By Entity Id"
},
"params": [
{
"typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}",
"details": {
"name": "Source",
"tooltip": "The Source containing the NetworkTestPlayerComponentController"
}
}
]
},
{
"base": "AuthorityToClientNoParamsByEntityId",
"context": "NetworkTestPlayerComponent",
"entry": {
"name": "In",
"tooltip": "When signaled, this will invoke Authority To Client No Params By Entity Id"
},
"exit": {
"name": "Out",
"tooltip": "Signaled after Authority To Client No Params By Entity Id is invoked"
},
"details": {
"name": "Authority To Client No Params By Entity Id"
},
"params": [
{
"typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}",
"details": {
"name": "Source",
"tooltip": "The Source containing the NetworkTestPlayerComponentController"
}
}
]
},
{
"base": "AuthorityToAutonomousByEntityId",
"context": "NetworkTestPlayerComponent",
"entry": {
"name": "In",
"tooltip": "When signaled, this will invoke Authority To Autonomous By Entity Id"
},
"exit": {
"name": "Out",
"tooltip": "Signaled after Authority To Autonomous By Entity Id is invoked"
},
"details": {
"name": "Authority To Autonomous By Entity Id"
},
"params": [
{
"typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}",
"details": {
"name": "Source",
"tooltip": "The Source containing the NetworkTestPlayerComponentController"
}
},
{
"typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}",
"details": {
"name": "some Float"
}
}
]
},
{
"base": "AutonomousToAuthorityNoParamsByEntityId",
"context": "NetworkTestPlayerComponent",
"entry": {
"name": "In",
"tooltip": "When signaled, this will invoke Autonomous To Authority No Params By Entity Id"
},
"exit": {
"name": "Out",
"tooltip": "Signaled after Autonomous To Authority No Params By Entity Id is invoked"
},
"details": {
"name": "Autonomous To Authority No Params By Entity Id"
},
"params": [
{
"typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}",
"details": {
"name": "Source",
"tooltip": "The Source containing the NetworkTestPlayerComponentController"
}
}
]
},
{
"base": "AuthorityToAutonomousNoParamsByEntityId",
"context": "NetworkTestPlayerComponent",
"entry": {
"name": "In",
"tooltip": "When signaled, this will invoke Authority To Autonomous No Params By Entity Id"
},
"exit": {
"name": "Out",
"tooltip": "Signaled after Authority To Autonomous No Params By Entity Id is invoked"
},
"details": {
"name": "Authority To Autonomous No Params By Entity Id"
},
"params": [
{
"typeid": "{6383F1D3-BB27-4E6B-A49A-6409B2059EAA}",
"details": {
"name": "Source",
"tooltip": "The Source containing the NetworkTestPlayerComponentController"
}
}
]
},
{
"base": "ServerToAuthorityNoParam",
"context": "NetworkTestPlayerComponent",
"entry": {
"name": "In",
"tooltip": "When signaled, this will invoke Server To Authority No Param"
},
"exit": {
"name": "Out",
"tooltip": "Signaled after Server To Authority No Param is invoked"
},
"details": {
"name": "Server To Authority No Param"
},
"params": [
{
"typeid": "{CA5E5C37-98A6-04D2-E15C-1B4BFEE4C7DD}",
"details": {
"name": "Network Test Player Component"
}
}
]
}
]
}
]
}
@@ -1,129 +0,0 @@
{
"entries": [
{
"base": "NetworkTestPlayerComponentNetworkInput",
"context": "BehaviorClass",
"variant": "",
"details": {
"name": "Network Test Player Component Network Input"
},
"methods": [
{
"base": "CreateFromValues",
"context": "NetworkTestPlayerComponentNetworkInput",
"entry": {
"name": "In",
"tooltip": "When signaled, this will invoke Create From Values"
},
"exit": {
"name": "Out",
"tooltip": "Signaled after Create From Values is invoked"
},
"details": {
"name": "Create From Values"
},
"params": [
{
"typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}",
"details": {
"name": "left Right"
}
}
],
"results": [
{
"typeid": "{12A1776B-61F6-4E5F-356A-AD718A62051F}",
"details": {
"name": "Network Test Player Component Network Input"
}
}
]
},
{
"base": "GetFwdBack",
"details": {
"name": "Get Fwd Back"
},
"params": [
{
"typeid": "{12A1776B-61F6-4E5F-356A-AD718A62051F}",
"details": {
"name": "Network Test Player Component Network Input"
}
}
],
"results": [
{
"typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}",
"details": {
"name": "Fwd Back"
}
}
]
},
{
"base": "SetFwdBack",
"details": {
"name": "Set Fwd Back"
},
"params": [
{
"typeid": "{12A1776B-61F6-4E5F-356A-AD718A62051F}",
"details": {
"name": "Network Test Player Component Network Input"
}
},
{
"typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}",
"details": {
"name": "Fwd Back"
}
}
]
},
{
"base": "GetLeftRight",
"details": {
"name": "Get Left Right"
},
"params": [
{
"typeid": "{12A1776B-61F6-4E5F-356A-AD718A62051F}",
"details": {
"name": "Network Test Player Component Network Input"
}
}
],
"results": [
{
"typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}",
"details": {
"name": "Left Right"
}
}
]
},
{
"base": "SetLeftRight",
"details": {
"name": "Set Left Right"
},
"params": [
{
"typeid": "{12A1776B-61F6-4E5F-356A-AD718A62051F}",
"details": {
"name": "Network Test Player Component Network Input"
}
},
{
"typeid": "{EA2C3E90-AFBE-44D4-A90D-FAAF79BAF93D}",
"details": {
"name": "Left Right"
}
}
]
}
]
}
]
}
@@ -1,7 +1,7 @@
{
"entries": [
{
"base": "{0B0AC61B-4BBA-42BF-BDCD-DAF2D3CA41A8}",
"base": "{0A2EB488-5A6A-E166-BB62-23FF81499E33}",
"context": "ScriptCanvas::Node",
"variant": "",
"details": {
@@ -10,6 +10,13 @@
"tooltip": "Handle processed input events found in input binding assets"
},
"slots": [
{
"base": "Input_Connect Event_0",
"details": {
"name": "Connect Event",
"tooltip": "Connect to input event name as defined in an input binding asset."
}
},
{
"base": "DataInput_Event Name_0",
"details": {
@@ -17,27 +24,34 @@
}
},
{
"base": "DataOutput_Value_0",
"base": "Output_On Connect Event_0",
"details": {
"name": "Value"
"name": "On Connect Event",
"tooltip": "Connect to input event name as defined in an input binding asset."
}
},
{
"base": "Output_Pressed_0",
"base": "Output_Pressed_1",
"details": {
"name": "Pressed",
"tooltip": "Signaled when the input event begins."
}
},
{
"base": "Output_Held_1",
"base": "DataOutput_value_0",
"details": {
"name": "value"
}
},
{
"base": "Output_Held_2",
"details": {
"name": "Held",
"tooltip": "Signaled while the input event is active."
}
},
{
"base": "Output_Released_2",
"base": "Output_Released_3",
"details": {
"name": "Released",
"tooltip": "Signaled when the input event ends."
@@ -145,7 +145,7 @@ namespace ScriptCanvasEditor
ScriptEvents::ScriptEventsAsset* data = asset.GetAs<ScriptEvents::ScriptEventsAsset>();
if (data)
{
const ScriptEvents::ScriptEvent* previousDefinition = nullptr;
[[maybe_unused]] const ScriptEvents::ScriptEvent* previousDefinition = nullptr;
ScriptEvents::ScriptEventsAsset* previousData = m_asset.GetAs<ScriptEvents::ScriptEventsAsset>();
if (previousData)
{
@@ -881,6 +881,23 @@ namespace ScriptCanvasEditor
return "";
}
void NodePaletteDockWidget::NavigateToTranslationFile(GraphCanvas::NodePaletteTreeItem* nodePaletteItem)
{
if (nodePaletteItem)
{
AZ::IO::Path gemPath = GetGemPath("ScriptCanvas.Editor");
gemPath = gemPath / AZ::IO::Path("TranslationAssets");
gemPath = gemPath / nodePaletteItem->GetTranslationDataPath();
gemPath.ReplaceExtension(".names");
AZ::IO::FileIOBase* fileIO = AZ::IO::FileIOBase::GetInstance();
if (fileIO && fileIO->Exists(gemPath.c_str()))
{
AzQtComponents::ShowFileOnDesktop(gemPath.c_str());
}
}
}
void NodePaletteDockWidget::GenerateTranslation()
{
QModelIndexList indexList = GetTreeView()->selectionModel()->selectedRows();
@@ -894,6 +911,16 @@ namespace ScriptCanvasEditor
GraphCanvas::NodePaletteTreeItem* nodePaletteItem = static_cast<GraphCanvas::NodePaletteTreeItem*>(sourceIndex.internalPointer());
nodePaletteItem->GenerateTranslationData();
}
if (indexList.size() == 1)
{
QModelIndex sourceIndex = filterModel->mapToSource(indexList[0]);
if (sourceIndex.isValid())
{
GraphCanvas::NodePaletteTreeItem* nodePaletteItem = static_cast<GraphCanvas::NodePaletteTreeItem*>(sourceIndex.internalPointer());
NavigateToTranslationFile(nodePaletteItem);
}
}
}
void NodePaletteDockWidget::OpenTranslationData()
@@ -909,19 +936,7 @@ namespace ScriptCanvasEditor
QModelIndex sourceIndex = filterModel->mapToSource(index);
GraphCanvas::NodePaletteTreeItem* nodePaletteItem = static_cast<GraphCanvas::NodePaletteTreeItem*>(sourceIndex.internalPointer());
if (nodePaletteItem)
{
AZ::IO::Path gemPath = GetGemPath("ScriptCanvas.Editor");
gemPath = gemPath / AZ::IO::Path("TranslationAssets");
gemPath = gemPath / nodePaletteItem->GetTranslationDataPath();
gemPath.ReplaceExtension(".names");
AZ::IO::FileIOBase* fileIO = AZ::IO::FileIOBase::GetInstance();
if (fileIO->Exists(gemPath.c_str()))
{
AzQtComponents::ShowFileOnDesktop(gemPath.c_str());
}
}
NavigateToTranslationFile(nodePaletteItem);
}
}
}
@@ -209,6 +209,7 @@ namespace ScriptCanvasEditor
void HandleTreeItemDoubleClicked(GraphCanvas::GraphCanvasTreeItem* treeItem);
void OpenTranslationData();
void GenerateTranslation();
void NavigateToTranslationFile(GraphCanvas::NodePaletteTreeItem*);
void ConfigureHelper();
void ParseCycleTargets(GraphCanvas::GraphCanvasTreeItem* treeItem);
@@ -9,6 +9,8 @@
#include <AzCore/Asset/AssetManagerBus.h>
#include <AzCore/Component/TickBus.h>
#include <AzCore/IO/SystemFile.h>
#include <AzCore/IO/IStreamer.h>
#include <AzCore/IO/Streamer/FileRequest.h>
#include <AzFramework/Asset/AssetSystemBus.h>
#include <AzFramework/IO/FileOperations.h>
#include <AzToolsFramework/API/EditorAssetSystemAPI.h>