Sketcher: Fix box selection regressions. And make addSelections Print to python (#26869)
This commit is contained in:
@@ -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
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user