diff --git a/Applications/DataExplorer/mainwindow.h b/Applications/DataExplorer/mainwindow.h index 78b4afdbc817f5243243344d0ef9fc3fe0267ed8..d9f86dd575a9904c1cce332f28f6f873b0cebf54 100644 --- a/Applications/DataExplorer/mainwindow.h +++ b/Applications/DataExplorer/mainwindow.h @@ -126,7 +126,7 @@ private: void readSettings(); void writeSettings(); QString getLastUsedDir(); - + DataHolderLib::Project _project; std::unique_ptr<MshModel> _meshModel; std::unique_ptr<ElementTreeModel> _elementModel; diff --git a/DataHolderLib/Project.h b/DataHolderLib/Project.h index f5d92abcbcbd6570e62ceb7c540d89de2d6f9e38..de44c37c38d31e13205a78ddcc9b09d19e6bcd30 100644 --- a/DataHolderLib/Project.h +++ b/DataHolderLib/Project.h @@ -46,13 +46,13 @@ public: /// Returns the mesh with the given name or a \c nullptr if the mesh was not /// found. const MeshLib::Mesh* getMesh(const std::string &name) const; - + /// Returns all the meshes with their respective names const std::vector<MeshLib::Mesh*>& getMeshObjects() const { return _mesh_vec; } - + /// Deletes all meshes with the given name and removes them from the list of /// saved meshes. If any mesh was found for removal, true is returned and /// false otherwise.