| 10 | #include "Toolkits/ToolkitManager.h" |
| 11 | |
| 12 | TSharedPtr<FFlowAssetEditor> FFlowGraphUtils::GetFlowAssetEditor(const UEdGraph* Graph) |
| 13 | { |
| 14 | check(Graph); |
| 15 | |
| 16 | TSharedPtr<FFlowAssetEditor> FlowAssetEditor; |
| 17 | if (const UFlowAsset* FlowAsset = Cast<const UFlowGraph>(Graph)->GetFlowAsset()) |
| 18 | { |
| 19 | FlowAssetEditor = GetFlowAssetEditor(FlowAsset); |
| 20 | } |
| 21 | return FlowAssetEditor; |
| 22 | } |
| 23 | |
| 24 | TSharedPtr<FFlowAssetEditor> FFlowGraphUtils::GetFlowAssetEditor(const UFlowAsset* FlowAsset) |
| 25 | { |
nothing calls this directly
no test coverage detected