]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/PartSet/PartSet_SketcherReentrantMgr.h
Salome HOME
Issue #3232: Delete automatic constraints if they cause conflicts
[modules/shaper.git] / src / PartSet / PartSet_SketcherReentrantMgr.h
index 046f45dba5911b13358c8d68a9974a3be0899e39..c11f56bcf439d45bfbf7db63e7863f01380898c9 100644 (file)
@@ -134,6 +134,8 @@ public:
   bool isAutoConstraints() const { return myIsAutoConstraints; }
 
 
+  bool isLastAutoConstraint(const ObjectPtr& theObj) const;
+
 public slots:
   /// The slot is called when user checks "Automatic constraints" button
   /// \param isOn a state of the check box
@@ -240,6 +242,7 @@ private:
   std::shared_ptr<GeomAPI_Pnt2d> myClickedSketchPoint; /// cashed clicked point
 
   bool myIsAutoConstraints;
+  void* myLastAutoConstraint; //< Stores address of last automatic constraint. Connot be used as a pointer!!!
 };
 
 #endif