Skip to content

Commit

Permalink
Part: Fix crash due to infinite recursion
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Dec 15, 2024
1 parent aa228f2 commit e698c73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Part/Gui/TaskAttacher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ void TaskAttacher::addToReference(const std::vector<SubAndObjName>& pairs)

void TaskAttacher::addToReference(SubAndObjName pair)
{
addToReference({ pair });
addToReference({{{ pair }}});
}

void TaskAttacher::onAttachmentOffsetChanged(double /*val*/, int idx)
Expand Down

0 comments on commit e698c73

Please sign in to comment.