Skip to content

Commit

Permalink
Fix task composer graph config loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Levi-Armstrong committed Jul 29, 2024
1 parent 70e013f commit d92122f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tesseract_task_composer/core/src/task_composer_graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ TaskComposerGraph::TaskComposerGraph(std::string name,

if (YAML::Node n = tc["abort_terminal"])
{
if (task_node->getType() != TaskComposerNodeType::GRAPH ||
if (task_node->getType() == TaskComposerNodeType::GRAPH ||
task_node->getType() == TaskComposerNodeType::PIPELINE)
static_cast<TaskComposerGraph&>(*task_node).setTerminalTriggerAbortByIndex(n.as<int>());
else
Expand Down

0 comments on commit d92122f

Please sign in to comment.