From: mpv Date: Tue, 23 Sep 2014 07:02:56 +0000 (+0400) Subject: Fix for the problem of distance constraints set X-Git-Tag: V_0.4.4~35^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1c6917b7ea08778f2540a7681c43a48f2002160d;p=modules%2Fshaper.git Fix for the problem of distance constraints set --- diff --git a/src/SketchPlugin/SketchPlugin_Validators.cpp b/src/SketchPlugin/SketchPlugin_Validators.cpp index 855ac9ab0..555f0abfe 100644 --- a/src/SketchPlugin/SketchPlugin_Validators.cpp +++ b/src/SketchPlugin/SketchPlugin_Validators.cpp @@ -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(aFactory->validator("SketchPlugin_ResultLineValidator")); + dynamic_cast(aFactory->validator("SketchPlugin_ResultLine")); if (!aLineValidator->isValid(theObject)) return true;