diff --git a/core/src/container.cpp b/core/src/container.cpp index 1bf39e43..c586480d 100644 --- a/core/src/container.cpp +++ b/core/src/container.cpp @@ -365,10 +365,6 @@ void ContainerBase::insert(Stage::pointer&& stage, int before) { if (!stage) throw std::runtime_error(name() + ": received invalid stage pointer"); - if (stage->trajectoryExecutionInfo().controller_names.empty()) { - stage->setTrajectoryExecutionInfo(this->trajectoryExecutionInfo()); - } - StagePrivate* impl = stage->pimpl(); impl->setParent(this);