Salome HOME
Compilation error in SMESHGUI_ExtrusionAlongPathDlg
authoreap <eap@opencascade.com>
Thu, 17 Jan 2019 15:21:35 +0000 (18:21 +0300)
committereap <eap@opencascade.com>
Thu, 17 Jan 2019 15:21:35 +0000 (18:21 +0300)
src/SMESH/SMESH_Group.cxx
src/SMESH/SMESH_Group.hxx
src/SMESHGUI/SMESHGUI_ExtrusionAlongPathDlg.cxx

index 35c7192ee72315af8d8d45a4b70256ab4deed5c5..2ae41af1977893f6f38cfd921c1b5db79807a2f8 100644 (file)
@@ -99,7 +99,7 @@ void SMESH_Group::SetName (const char* theName)
 
 //================================================================================
 /*!
- * \brief Return group ID. It is negative if no SMESHDS_GroupBase exist
+ * \brief Return persistent group ID. It is negative if no SMESHDS_GroupBase exist
  */
 //================================================================================
 
index efb6cf9d6ef6852af7b8d5e89a3280fdea79ab59..e7d2d88b70a0e7784edcb09e677d22665eed7080 100644 (file)
@@ -58,7 +58,7 @@ class SMESH_EXPORT  SMESH_Group
 
   SMESHDS_GroupBase * GetGroupDS () { return myGroupDS; }
 
-  int GetID() const;
+  int GetID() const; // persistent ID
 
  private:
   SMESH_Group (const SMESH_Group& theOther);
index 0ad8681dfcd488e8a9e8f170035e247f2fcb9d80..f6b5f80bf413c6cea63c341c0adc29891a32629f 100644 (file)
@@ -1056,7 +1056,7 @@ bool SMESHGUI_ExtrusionAlongPathDlg::isValuesValid()
   }
   else
   {
-    SMESH::long_array_var elems = mesh->GetNodeInverseElements( aNodeStart );
+    SMESH::long_array_var elems = mesh->GetNodeInverseElements( aNodeStart, SMESH::ALL );
     if ( elems->length() != 1 ||
          mesh->GetElementType( elems[0], true ) != SMESH::EDGE )
       return false;