Salome HOME
Update dimensions on current plane of sketcher
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_ConstraintLength.cpp
index 289548b341e534f665ed039c74d21e28b85250b5..1ba4aa081ff9e54a91a7af1b61fb40fd824aa74a 100644 (file)
@@ -170,7 +170,7 @@ AISObjectPtr SketchPlugin_ConstraintLength::getAISObject(AISObjectPtr thePreviou
     return thePrevious;
 
   AISObjectPtr anAIS = SketcherPrs_Factory::lengthDimensionConstraint(this,
-    sketch()->coordinatePlane(), thePrevious);
+    sketch(), thePrevious);
   return anAIS;
 }