From: spo Date: Fri, 4 Sep 2015 14:28:11 +0000 (+0300) Subject: Fix: SketchPlugin_Sketch::SOLVER_ERROR() should be obligatory X-Git-Tag: V_1.4.0_beta4~115 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2b740c78ad913354a2391a18753f9b52e2cd51cb;p=modules%2Fshaper.git Fix: SketchPlugin_Sketch::SOLVER_ERROR() should be obligatory --- 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()