From 1c6917b7ea08778f2540a7681c43a48f2002160d Mon Sep 17 00:00:00 2001 From: mpv Date: Tue, 23 Sep 2014 11:02:56 +0400 Subject: [PATCH] Fix for the problem of distance constraints set --- src/SketchPlugin/SketchPlugin_Validators.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2