MCPcopy Create free account
hub / github.com/Nelarius/imnodes / IsAttributeActive

Function IsAttributeActive

imnodes.cpp:2839–2849  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2837}
2838
2839bool IsAttributeActive()
2840{
2841 assert((GImNodes->CurrentScope & ImNodesScope_Node) != 0);
2842
2843 if (!GImNodes->ActiveAttribute)
2844 {
2845 return false;
2846 }
2847
2848 return GImNodes->ActiveAttributeId == GImNodes->CurrentAttributeId;
2849}
2850
2851bool IsAnyAttributeActive(int* const attribute_id)
2852{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected