| 713 | } |
| 714 | |
| 715 | void UFlowNode::FixupDataPinTypesForPin(FFlowPin& MutableDataPin) |
| 716 | { |
| 717 | const FFlowPinTypeName NewPinTypeName = FFlowPin::GetPinTypeNameForLegacyPinType(MutableDataPin.PinType); |
| 718 | |
| 719 | if (!NewPinTypeName.IsNone()) |
| 720 | { |
| 721 | MutableDataPin.SetPinTypeName(NewPinTypeName); |
| 722 | } |
| 723 | |
| 724 | if (MutableDataPin.GetPinTypeName().IsNone()) |
| 725 | { |
| 726 | // Ensure we have a pin type even if the enum was invalid before |
| 727 | MutableDataPin.SetPinTypeName(FFlowPinType_Exec::GetPinTypeNameStatic()); |
| 728 | } |
| 729 | |
| 730 | MutableDataPin.PinType = EFlowPinType::Invalid; |
| 731 | } |
| 732 | // -- |
| 733 | |
| 734 | #if WITH_EDITOR |
nothing calls this directly
no test coverage detected