#include "SketchPlugin_ConstraintRigid.h"
#include "SketchPlugin_ConstraintParallel.h"
+#include "SketchPlugin_Feature.h"
#include <SketcherPrs_Factory.h>
{
if (!sketch())
return thePrevious;
-
- AISObjectPtr anAIS = thePrevious;
- if (!anAIS) {
- anAIS = SketcherPrs_Factory::rigidConstraint(this, sketch()->coordinatePlane());
- }
-
- return anAIS;
+ return SketcherPrs_Factory::rigidConstraint(this, sketch()->coordinatePlane(), thePrevious);
}
\ No newline at end of file