#include "SketchPlugin_ConstraintLength.h"
#include <SketchPlugin_Line.h>
+#include <SketchPlugin_Tools.h>
#include <GeomDataAPI_Point2D.h>
AISObjectPtr anAIS = SketcherPrs_Factory::lengthDimensionConstraint(this,
sketch(), thePrevious);
+ if (anAIS.get() && !thePrevious.get())
+ SketchPlugin_Tools::setDimensionColor(anAIS);
return anAIS;
}