Skip to content

Commit

Permalink
Revert implicit property inheritance (#502)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjahr authored Nov 3, 2023
1 parent 94d6514 commit 81a5a6b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions core/src/container.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 81a5a6b

Please sign in to comment.