{
if (!sketch())
return thePrevious;
-
- AISObjectPtr anAIS = thePrevious;
- if (anAIS.get() == NULL) {
- anAIS = SketcherPrs_Factory::rigidConstraint(this, sketch()->coordinatePlane());
- }
-
- return anAIS;
+ return SketcherPrs_Factory::rigidConstraint(this, sketch()->coordinatePlane(), thePrevious);
}
\ No newline at end of file