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:
theo-vt
2025-07-27 22:33:25 -04:00
committed by GitHub
parent 7481a5d8dd
commit 2da7c9ff17
6 changed files with 59 additions and 16 deletions

View File

@@ -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,