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