Automatically switch to edge selection mode when creating surface
This commit is contained in:
committed by
Benjamin Nauck
parent
3bad469ee5
commit
ece110f21e
@@ -338,6 +338,11 @@ void GeomFillSurface::open()
|
||||
checkOpenCommand();
|
||||
this->vp->highlightReferences(true);
|
||||
Gui::Selection().clearSelection();
|
||||
|
||||
// if the surface is not yet created then automatically start "AppendEdge" mode
|
||||
if (editedObject->Shape.getShape().isNull()) {
|
||||
ui->buttonEdgeAdd->setChecked(true);
|
||||
}
|
||||
}
|
||||
|
||||
void GeomFillSurface::clearSelection()
|
||||
|
||||
@@ -368,6 +368,11 @@ void SectionsPanel::open()
|
||||
true);
|
||||
|
||||
Gui::Selection().clearSelection();
|
||||
|
||||
// if the surface is not yet created then automatically start "AppendEdge" mode
|
||||
if (editedObject->Shape.getShape().isNull()) {
|
||||
ui->buttonEdgeAdd->setChecked(true);
|
||||
}
|
||||
}
|
||||
|
||||
void SectionsPanel::clearSelection()
|
||||
|
||||
Reference in New Issue
Block a user