Applied feedback from PR
Signed-off-by: lsemp3d <58790905+lsemp3d@users.noreply.github.com>
This commit is contained in:
@@ -518,7 +518,7 @@ namespace ScriptCanvas
|
||||
{
|
||||
const AZ::BehaviorParameter& argument(event.m_parameters[AZ::eBehaviorBusForwarderEventIndices::Result]);
|
||||
Data::Type inputType(AZ::BehaviorContextHelper::IsStringParameter(argument) ? Data::Type::String() : Data::FromAZType(argument.m_typeId));
|
||||
const AZStd::string argName(Data::GetName(inputType).data());
|
||||
const AZStd::string argName(Data::GetName(inputType));
|
||||
|
||||
DataSlotConfiguration resultConfiguration;
|
||||
|
||||
|
||||
@@ -272,7 +272,7 @@ namespace ScriptCanvas
|
||||
|
||||
Data::Type outputType(AZ::BehaviorContextHelper::IsStringParameter(*result) ? Data::Type::String() : Data::FromAZType(result->m_typeId));
|
||||
// multiple outs will need out value names
|
||||
const AZStd::string resultSlotName(Data::GetName(outputType).c_str());
|
||||
const AZStd::string resultSlotName(Data::GetName(outputType));
|
||||
|
||||
DataSlotConfiguration slotConfiguration;
|
||||
|
||||
@@ -343,7 +343,7 @@ namespace ScriptCanvas
|
||||
{
|
||||
Data::Type outputType(AZ::BehaviorContextHelper::IsStringParameter(*result) ? Data::Type::String() : Data::FromAZType(result->m_typeId));
|
||||
// multiple outs will need out value names
|
||||
const AZStd::string resultSlotName(Data::GetName(outputType).c_str());
|
||||
const AZStd::string resultSlotName(Data::GetName(outputType));
|
||||
|
||||
Slot* slot = GetSlotByName(resultSlotName);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user