Salome HOME
Issue #353 constraint on 2 segments from not acive sketches
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_Point.cpp
index 97c74f4760dbfc4f52e4e3bab14563effcd24c5f..3fd71b5609e3429a5102ac7b9e314d69982802d2 100644 (file)
@@ -70,7 +70,7 @@ double SketchPlugin_Point::distanceToPoint(const std::shared_ptr<GeomAPI_Pnt2d>&
 }
 
 bool SketchPlugin_Point::isFixed() {
-  return data()->selection(EXTERNAL_ID())->context();
+  return data()->selection(EXTERNAL_ID())->context().get();
 }
 
 void SketchPlugin_Point::attributeChanged(const std::string& theID) {