From 9738ca9d83e86e478a062889786f4d8f62826000 Mon Sep 17 00:00:00 2001 From: mzn Date: Tue, 31 Jul 2018 10:57:56 +0300 Subject: [PATCH] Provide non-empty id in order that it differs from FeaturesAPI_RevolutionBoolean id. --- src/SketchAPI/SketchAPI_Constraint.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SketchAPI/SketchAPI_Constraint.h b/src/SketchAPI/SketchAPI_Constraint.h index 8f79cca41..2ad165065 100644 --- a/src/SketchAPI/SketchAPI_Constraint.h +++ b/src/SketchAPI/SketchAPI_Constraint.h @@ -46,8 +46,8 @@ public: static std::string ID() { - static const std::string DUMMY; - return DUMMY; + static const std::string MY_SKETCH_CONSTRAINT_ID = "SketchConstraint"; + return MY_SKETCH_CONSTRAINT_ID; } virtual std::string getID() { return ID(); } -- 2.39.2