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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user