MOD: assembly clean (#20557)

* MOD: assembly clean

clean code

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update AssemblyLink.cpp

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
mosfet80
2025-04-14 18:05:55 +02:00
committed by GitHub
parent 9dffe0d9b4
commit 71317baa52
8 changed files with 0 additions and 61 deletions

View File

@@ -491,8 +491,6 @@ JointGroup* AssemblyLink::ensureJointGroup()
jGroup = new JointGroup();
getDocument()->addObject(jGroup, tr("Joints").toStdString().c_str());
// we want to add jgroup at the start, so we don't use
// addObject(jGroup);
std::vector<DocumentObject*> grp = Group.getValues();
grp.insert(grp.begin(), jGroup);
Group.setValues(grp);