Fixed fallback name for EBus methods, improved more names
Signed-off-by: lsemp3d <58790905+lsemp3d@users.noreply.github.com>
This commit is contained in:
+5
-4
@@ -5,13 +5,14 @@
|
||||
"context": "EBusHandler",
|
||||
"variant": "",
|
||||
"details": {
|
||||
"name": "CameraNotificationBus"
|
||||
"name": "Camera",
|
||||
"category": "Camera"
|
||||
},
|
||||
"methods": [
|
||||
{
|
||||
"key": "OnCameraAdded",
|
||||
"details": {
|
||||
"name": "OnCameraAdded"
|
||||
"name": "On Camera Added"
|
||||
},
|
||||
"params": [
|
||||
{
|
||||
@@ -26,7 +27,7 @@
|
||||
{
|
||||
"key": "OnCameraRemoved",
|
||||
"details": {
|
||||
"name": "OnCameraRemoved"
|
||||
"name": "On Camera Removed"
|
||||
},
|
||||
"params": [
|
||||
{
|
||||
@@ -41,7 +42,7 @@
|
||||
{
|
||||
"key": "OnActiveViewChanged",
|
||||
"details": {
|
||||
"name": "OnActiveViewChanged"
|
||||
"name": "On Active View Changed"
|
||||
},
|
||||
"params": [
|
||||
{
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
},
|
||||
"methods": [
|
||||
{
|
||||
"key": "GetActorsData",
|
||||
"key": "Get Actors Data",
|
||||
"entry": {
|
||||
"name": "In",
|
||||
"tooltip": "When signaled, this will invoke Get Actors Data"
|
||||
|
||||
@@ -330,9 +330,11 @@ namespace ScriptCanvasEditor::Nodes
|
||||
|
||||
// Get the method's text data
|
||||
GraphCanvas::TranslationRequests::Details methodDetails;
|
||||
methodDetails.m_name = details.m_name; // fallback
|
||||
key << "methods" << methodName;
|
||||
GraphCanvas::TranslationRequestBus::BroadcastResult(methodDetails, &GraphCanvas::TranslationRequests::GetDetails, key + ".details", methodDetails);
|
||||
|
||||
|
||||
if (methodDetails.m_subtitle.empty())
|
||||
{
|
||||
methodDetails.m_subtitle = details.m_name;
|
||||
@@ -390,7 +392,7 @@ namespace ScriptCanvasEditor::Nodes
|
||||
}
|
||||
|
||||
if (slot.IsData())
|
||||
{
|
||||
{
|
||||
index++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user