Files
UnrealEngineUWP/Engine/Source/Editor/PhysicsAssetEditor
dave jones2 35ce29a928 UE-110714 - SGraphPanel::OnPaint crash in physics asset editor
Upon construction, SPhysicsAssetGraphNodeOutputPin objects will register callbacks for its pins. However, these objects can potentially reference destroyed UEdGraphPin instances after an undo occurs, since UEdGraphPin deserializaiton will destroy existing pins. There's also a secondary issue where the nodes appear to be disconnected after undo.

The most straightforward fix here is to make SPhysicsAssetGraph a FEditorUndoClient, and then rebuild the underlying graph object.
#jira UE-110714
#rb jamie.dale

[CL 16355305 by dave jones2 in ue5-main branch]
2021-05-17 13:34:29 -04:00
..