Toponaming/Part: Move missed attacher code into place

This commit is contained in:
Zheng, Lei
2024-03-21 10:04:42 -04:00
committed by wwmayer
parent 9d533373bc
commit 8df43d0327
5 changed files with 27 additions and 17 deletions

View File

@@ -129,7 +129,7 @@ void UnifiedDatumCommand(Gui::Command &cmd, Base::Type type, std::string name)
//test if current selection fits a mode.
if (support.getSize() > 0) {
Part::AttachExtension* pcDatum = Feat->getExtensionByType<Part::AttachExtension>();
pcDatum->attacher().references.Paste(support);
pcDatum->attacher().setReferences(support);
SuggestResult sugr;
pcDatum->attacher().suggestMapModes(sugr);
if (sugr.message == Attacher::SuggestResult::srOK) {