From 93fb6b999ce9abfdaffecdd4cb4b53e8351f0c00 Mon Sep 17 00:00:00 2001 From: Wanderer Fan Date: Fri, 12 Aug 2022 11:28:21 -0400 Subject: [PATCH] [TD]fix LineFormat ctor line color --- src/Mod/TechDraw/App/Cosmetic.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Mod/TechDraw/App/Cosmetic.h b/src/Mod/TechDraw/App/Cosmetic.h index c53667dfdb..33858810dc 100644 --- a/src/Mod/TechDraw/App/Cosmetic.h +++ b/src/Mod/TechDraw/App/Cosmetic.h @@ -31,7 +31,6 @@ #include "Geometry.h" - class TopoDS_Edge; namespace TechDraw { @@ -44,7 +43,7 @@ class TechDrawExport LineFormat public: LineFormat(int style = getDefEdgeStyle(), double weight = getDefEdgeWidth(), - App::Color color = getDefEdgeWidth(), + App::Color color = getDefEdgeColor(), bool visible = true); ~LineFormat() = default;