Salome HOME
Fix for the issue #2909 : Folder becomes empty after "export to GEOM"
[modules/shaper.git] / src / ModelAPI / ModelAPI_Folder.h
index 7945ff12d1917d13ec3080dc07b63e4f1e30cbf6..1fd19958ee5f8b209069b18b4770424962f5750b 100644 (file)
@@ -92,6 +92,10 @@ public:
     return data()->reference(theID);
   }
 
+  /// Returns the last visible feature in the folder, passing through invisible,
+  /// that may appear as the last ones.
+  MODELAPI_EXPORT std::shared_ptr<ModelAPI_Feature> lastVisibleFeature();
+
 protected:
   /// This method is called just after creation of the object: it must initialize
   /// all fields, normally initialized in the constructor