Salome HOME
Optimization of SketchPrs objects parameters
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_ConstraintCollinear.cpp
index ef3a7a5687197860d02fe3244e45c29ab4835508..c1742919fe8ecba76ed83e23b2b676563b3c2158 100644 (file)
@@ -41,8 +41,8 @@ AISObjectPtr SketchPlugin_ConstraintCollinear::getAISObject(AISObjectPtr thePrev
   if (!sketch())
     return thePrevious;
 
-  AISObjectPtr anAIS = SketcherPrs_Factory::collinearConstraint(this, sketch()->coordinatePlane(),
-                                                                thePrevious);
+  AISObjectPtr anAIS = SketcherPrs_Factory::collinearConstraint(
+      this, sketch(), thePrevious);
   return anAIS;
 }