Salome HOME
Bug PAL7222( DEVELOPMENT : Info on mesh and export MED File ).
[modules/smesh.git] / src / SMESH / SMESH_Pattern.hxx
index 0a54cfa711b7dc4e07225f590e6fc4244bb39535..670578ce459d1e04bfb6eab8028309fb57c9d848 100644 (file)
@@ -190,8 +190,8 @@ class SMESH_Pattern {
   // Return indices of key-points within the sequences returned by
   // GetPoints() and GetMappedPoints()
   
-  const std::list< std::list< int > >& GetElementPointIDs () const
-  { return myElemXYZIDs.empty() ? myElemPointIDs : myElemXYZIDs; }
+  const std::list< std::list< int > >& GetElementPointIDs (bool applied) const
+  { return myElemXYZIDs.empty() || !applied ? myElemPointIDs : myElemXYZIDs; }
   // Return nodal connectivity of the elements of the pattern
 
   void DumpPoints() const;