logic: flag FilterUndefinedNodesFromGraph in ApplicationSettings

If set to true the flag filters all undefined nodes from the graph, unless every active node is undefined.
This commit is contained in:
Eberhard Graether
2015-03-17 15:42:20 +01:00
parent c4ca420677
commit 52baca3962
8 changed files with 46 additions and 0 deletions
@@ -95,6 +95,11 @@ void GraphFilterConductor::filterCommandNode(const QueryCommand* node, const Fil
{
switch (node->getType())
{
case QueryCommand::COMMAND_UNDEFINED:
GraphFilterCommandNodeType(
Node::NODE_UNDEFINED | Node::NODE_UNDEFINED_TYPE |
Node::NODE_UNDEFINED_VARIABLE | Node::NODE_UNDEFINED_FUNCTION).apply(in, out);
break;
case QueryCommand::COMMAND_MEMBER:
GraphFilterCommandMember().apply(in, out);
break;