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:
@@ -52,7 +52,6 @@ int GeometryLayerParameters::getSubLayerIndex(const int geoId,
|
||||
}
|
||||
|
||||
SbColor DrawingParameters::InformationColor(0.0f, 1.0f, 0.0f); // #00FF00 -> ( 0,255, 0)
|
||||
SbColor DrawingParameters::CreateCurveColor(0.5f, 0.5f, 0.5f); // ##7f7f7f -> (127,127,127)
|
||||
|
||||
namespace
|
||||
{ // Anonymous namespace to avoid making those variables global
|
||||
|
||||
Reference in New Issue
Block a user