]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix: SketchPlugin_Sketch::SOLVER_ERROR() should be obligatory
authorspo <sergey.pokhodenko@opencascade.com>
Fri, 4 Sep 2015 14:28:11 +0000 (17:28 +0300)
committerspo <sergey.pokhodenko@opencascade.com>
Fri, 4 Sep 2015 14:28:11 +0000 (17:28 +0300)
src/SketchPlugin/SketchPlugin_Sketch.cpp

index 1c0edb44e6bc986c4990e84b929da541b12a897b..eec2e580f48b2bfecd484e50de53f02436b1b3a1 100644 (file)
@@ -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()