MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / groupContains

Function groupContains

test/MapMerging.cpp:925–935  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

923}
924
925inline bool groupContains(const selection::ISelectionGroupPtr& group, const scene::INodePtr& node)
926{
927 bool found = false;
928
929 group->foreachNode([&](const scene::INodePtr& member)
930 {
931 if (member == node) found = true;
932 });
933
934 return found;
935}
936
937// The group containing the 1 brushes has been dissolved in the changed map
938TEST_F(SelectionGroupMergeTest, GroupRemoved)

Callers 1

TEST_FFunction · 0.85

Calls 1

foreachNodeMethod · 0.45

Tested by

no test coverage detected