]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketcherPrs/SketcherPrs_Middle.cpp
Salome HOME
Update constraints symbols according to current sketch plane
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_Middle.cpp
index 224d72f3c59d5b965037c610d8c05bd3abdabbe8..67326f1561c3dc0d9a09686acac4b8f5aa0b4af7 100644 (file)
@@ -57,7 +57,7 @@ bool SketcherPrs_Middle::IsReadyToDisplay(ModelAPI_Feature* theConstraint,
 
 bool SketcherPrs_Middle::updateIfReadyToDisplay(double theStep, bool withColor) const
 {
-  if (!IsReadyToDisplay(myConstraint, myPlane))
+  if (!IsReadyToDisplay(myConstraint, plane()))
     return false;
   ObjectPtr aPointObject;