+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
#include <SketchSolver_ConstraintLength.h>
#include <SketchSolver_Error.h>
std::vector<EntityWrapperPtr>& theAttributes)
{
SketchSolver_Constraint::getAttributes(theValue, theAttributes);
- if (!myErrorMsg.empty() || !theAttributes[2] ||
+ if (!myErrorMsg.empty() || !theAttributes[2] ||
theAttributes[2]->type() != ENTITY_LINE) {
theAttributes.clear();
return;