Sketcher: Fix box selection regressions. And make addSelections Print to python (#26869)

This commit is contained in:
PaddleStroke
2026-01-19 16:19:38 +01:00
committed by GitHub
parent f159133737
commit 6d8953c3b0
3 changed files with 41 additions and 11 deletions

View File

@@ -2774,8 +2774,8 @@ void ViewProviderSketch::doBoxSelection(const SbVec2s& startPos, const SbVec2s&
if (!batchSelection.empty()) {
Gui::Selection().addSelections(
getSketchObject()->getDocument()->getName(),
getSketchObject()->getNameInDocument(),
editDocName.c_str(),
editObjName.c_str(),
batchSelection
);
}
@@ -2929,8 +2929,8 @@ bool ViewProviderSketch::selectAll()
if (!batchSelection.empty()) {
Gui::Selection().addSelections(
getSketchObject()->getDocument()->getName(),
getSketchObject()->getNameInDocument(),
editDocName.c_str(),
editObjName.c_str(),
batchSelection
);
}