Salome HOME
Meet coding style (split lines longer than 100 characters)
authorArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Sat, 27 Jun 2020 17:43:48 +0000 (20:43 +0300)
committerArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Thu, 2 Jul 2020 11:33:34 +0000 (14:33 +0300)
src/Model/Model_AttributeSelection.h
src/PartSet/PartSet_SketcherReentrantMgr.h

index 0b1af7181804e48893d34995253c16bd8698d9db..e5dc6d482c72a2a5f31ac44c38bf32f974259071 100644 (file)
@@ -48,7 +48,8 @@ class Model_AttributeSelection : public ModelAPI_AttributeSelection,
   /// Reference to the parent attribute, if any (to split selection compounds in issue 1799)
   Model_AttributeSelectionList* myParent;
 
-  std::shared_ptr<Model_Document> myRestoreDocument; // current document to restore by name
+  /// current document to restore by name
+  std::shared_ptr<Model_Document> myRestoreDocument;
   /// If true attribute selects geometry instead of shape.
   bool myIsGeometricalSelection;
 
index 723bef070ede5a6b0abd4b501a49b8815af78326..378de5ace207f930864e8c32fd3b7c00f2f9d1b4 100644 (file)
@@ -240,6 +240,8 @@ private:
   std::shared_ptr<GeomAPI_Pnt2d> myClickedSketchPoint; /// cashed clicked point
 
   bool myIsAutoConstraints;
+  void* myLastAutoConstraint; //< Stores address of last automatic constraint.
+                              //< Cannot be used as a pointer!!!
 };
 
 #endif