Gui: fix box selection
This commit is contained in:
@@ -2504,7 +2504,7 @@ static std::vector<std::string> getBoxSelection(
|
||||
const auto &subs = obj->getSubObjects(App::DocumentObject::GS_SELECT);
|
||||
if(subs.empty()) {
|
||||
if(!selectElement) {
|
||||
if(mode==INTERSECT || bbox.Contains(bbox.GetCenter()))
|
||||
if(mode==INTERSECT || polygon.Contains(bbox.GetCenter()))
|
||||
ret.emplace_back("");
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user