Salome HOME
Update constraints symbols according to current sketch plane
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_Collinear.cpp
index 056d5ab95c1d1cd2aa56afa965e6b180202658e7..90e5d1b0e89d80980b761c6e9174150c2a5ae3f3 100644 (file)
@@ -55,7 +55,7 @@ bool SketcherPrs_Collinear::IsReadyToDisplay(ModelAPI_Feature* theConstraint,
 
 bool SketcherPrs_Collinear::updateIfReadyToDisplay(double theStep, bool withColor) const
 {
-  if (!IsReadyToDisplay(myConstraint, myPlane))
+  if (!IsReadyToDisplay(myConstraint, plane()))
     return false;
 
   ObjectPtr aObj1 =