From 2b740c78ad913354a2391a18753f9b52e2cd51cb Mon Sep 17 00:00:00 2001 From: spo Date: Fri, 4 Sep 2015 17:28:11 +0300 Subject: [PATCH] Fix: SketchPlugin_Sketch::SOLVER_ERROR() should be obligatory --- src/SketchPlugin/SketchPlugin_Sketch.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SketchPlugin/SketchPlugin_Sketch.cpp b/src/SketchPlugin/SketchPlugin_Sketch.cpp index 1c0edb44e..eec2e580f 100644 --- a/src/SketchPlugin/SketchPlugin_Sketch.cpp +++ b/src/SketchPlugin/SketchPlugin_Sketch.cpp @@ -58,6 +58,8 @@ void SketchPlugin_Sketch::initAttributes() ModelAPI_Session::get()->validators()->registerNotObligatory( getKind(), SketchPlugin_SketchEntity::EXTERNAL_ID()); data()->addAttribute(SketchPlugin_Sketch::SOLVER_ERROR(), ModelAPI_AttributeString::typeId()); + ModelAPI_Session::get()->validators()->registerNotObligatory( + getKind(), SketchPlugin_Sketch::SOLVER_ERROR()); } void SketchPlugin_Sketch::execute() -- 2.39.2