]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix for the problem of distance constraints set
authormpv <mikhail.ponikarov@opencascade.com>
Tue, 23 Sep 2014 07:02:56 +0000 (11:02 +0400)
committermpv <mikhail.ponikarov@opencascade.com>
Tue, 23 Sep 2014 07:02:56 +0000 (11:02 +0400)
src/SketchPlugin/SketchPlugin_Validators.cpp

index 855ac9ab0584a88b7e92713fce7b8f9127f854cb..555f0abfeb50e3e2c0b05225e91e83e658fa2b93 100644 (file)
@@ -21,7 +21,7 @@ bool SketchPlugin_DistanceAttrValidator::isValid(const FeaturePtr& theFeature,
 
   // If the object is not a line then it is accepted
   const ModelAPI_ResultValidator* aLineValidator =
-      dynamic_cast<const ModelAPI_ResultValidator*>(aFactory->validator("SketchPlugin_ResultLineValidator"));
+      dynamic_cast<const ModelAPI_ResultValidator*>(aFactory->validator("SketchPlugin_ResultLine"));
   if (!aLineValidator->isValid(theObject))
     return true;