MCPcopy Create free account
hub / github.com/MothCocoon/FlowGraph / OnLoaded

Method OnLoaded

Source/FlowEditor/Private/Graph/FlowGraph.cpp:174–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174void UFlowGraph::OnLoaded()
175{
176 check(GEditor);
177
178 bIsLoadingGraph = true;
179
180 UpdateVersion();
181
182 // Setup all the Nodes in the graph for editing
183 for (UEdGraphNode* Node : Nodes)
184 {
185 UFlowGraphNode* FlowGraphNode = Cast<UFlowGraphNode>(Node);
186 if (IsValid(FlowGraphNode))
187 {
188 RecursivelySetupAllFlowGraphNodesForEditing(*FlowGraphNode);
189 }
190 }
191
192 UpdateDeprecatedClasses();
193
194 if (UpdateUnknownNodeClasses())
195 {
196 NotifyGraphChanged();
197 }
198
199 RefreshGraph();
200
201 bIsLoadingGraph = false;
202}
203
204void UFlowGraph::OnSave()
205{

Callers 1

InitFlowAssetEditorMethod · 0.80

Calls 1

IsValidFunction · 0.85

Tested by

no test coverage detected