mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-09-27 00:29:13 +08:00
do not send failures to parent
It is enough for us to investigate these locally
This commit is contained in:
parent
932497ce6d
commit
73b35ef2bf
@ -173,7 +173,7 @@ void StagePrivate::newSolution(const SolutionBasePtr& solution)
|
||||
for (const auto& cb : solution_cbs_)
|
||||
cb(*solution);
|
||||
|
||||
if (parent())
|
||||
if (parent() && !solution->isFailure())
|
||||
parent()->onNewSolution(*solution);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user