Sketcher: Change the style of the curves in creation to match the construction/defining flag (#22407)
* Sketcher: Change EditCurvesDrawStyle to match either CurvesDrawStyle or CurvesConstructionDrawStyle in editDraw() * Match color as well * Match pattern scale as well * Use enum instead of boolean flag * Update src/Mod/Sketcher/Gui/Utils.h --------- Co-authored-by: Kacper Donat <kadet1090@gmail.com>
This commit is contained in:
@@ -2879,12 +2879,12 @@ bool ViewProviderSketch::getIsShownVirtualSpace() const
|
||||
|
||||
void ViewProviderSketch::drawEdit(const std::vector<Base::Vector2d>& EditCurve)
|
||||
{
|
||||
editCoinManager->drawEdit(EditCurve);
|
||||
editCoinManager->drawEdit(EditCurve, currentGeometryCreationMode());
|
||||
}
|
||||
|
||||
void ViewProviderSketch::drawEdit(const std::list<std::vector<Base::Vector2d>>& list)
|
||||
{
|
||||
editCoinManager->drawEdit(list);
|
||||
editCoinManager->drawEdit(list, currentGeometryCreationMode());
|
||||
}
|
||||
|
||||
void ViewProviderSketch::drawEditMarkers(const std::vector<Base::Vector2d>& EditMarkers,
|
||||
|
||||
Reference in New Issue
Block a user