Revert implicit property inheritance (#502)

This commit is contained in:
Sebastian Jahr 2023-11-03 17:24:36 +01:00 committed by GitHub
parent 94d65143be
commit 81a5a6bc22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -365,10 +365,6 @@ void ContainerBase::insert(Stage::pointer&& stage, int before) {
if (!stage) if (!stage)
throw std::runtime_error(name() + ": received invalid stage pointer"); throw std::runtime_error(name() + ": received invalid stage pointer");
if (stage->trajectoryExecutionInfo().controller_names.empty()) {
stage->setTrajectoryExecutionInfo(this->trajectoryExecutionInfo());
}
StagePrivate* impl = stage->pimpl(); StagePrivate* impl = stage->pimpl();
impl->setParent(this); impl->setParent(this);