Salome HOME
Issue #2208: Development in progress
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_ConstraintCollinear.cpp
index ef3a7a5687197860d02fe3244e45c29ab4835508..484692fbaeeaf2451d1ec9133cc9f6d2b2ca9c71 100644 (file)
@@ -41,7 +41,7 @@ AISObjectPtr SketchPlugin_ConstraintCollinear::getAISObject(AISObjectPtr thePrev
   if (!sketch())
     return thePrevious;
 
-  AISObjectPtr anAIS = SketcherPrs_Factory::collinearConstraint(this, sketch()->coordinatePlane(),
+  AISObjectPtr anAIS = SketcherPrs_Factory::collinearConstraint(this, sketch(), sketch()->coordinatePlane(),
                                                                 thePrevious);
   return anAIS;
 }