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

Method OnSelectDiff

Source/FlowEditor/Private/Asset/FlowObjectDiff.cpp:79–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79void FFlowObjectDiff::OnSelectDiff(const FSingleObjectDiffEntry& Property) const
80{
81 if (Property.DiffType == EPropertyDiffType::Type::Invalid)
82 {
83 return;
84 }
85
86 if (OldDetailsView.IsValid())
87 {
88 OldDetailsView->HighlightProperty(Property.Identifier);
89 }
90
91 if (NewDetailsView.IsValid())
92 {
93 NewDetailsView->HighlightProperty(Property.Identifier);
94 }
95}

Callers 1

Calls 1

IsValidMethod · 0.80

Tested by

no test coverage detected