Skip to content

Commit

Permalink
minimising external interface
Browse files Browse the repository at this point in the history
  • Loading branch information
rinkk committed Aug 7, 2019
1 parent 070fad6 commit f28823b
Show file tree
Hide file tree
Showing 4 changed files with 294 additions and 349 deletions.
3 changes: 1 addition & 2 deletions Applications/DataExplorer/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -687,9 +687,8 @@ void MainWindow::loadFile(ImportFileType::type t, const QString &fileName)
else if (t == ImportFileType::GOCAD_TSURF)
{
std::string file_name(fileName.toStdString());
FileIO::Gocad::GocadAsciiReader gcts;
std::vector<std::unique_ptr<MeshLib::Mesh>> meshes;
if (gcts.readFile(file_name, meshes))
if (FileIO::Gocad::GocadAsciiReader::readFile(file_name, meshes))
{
for (auto& mesh : meshes)
{
Expand Down
Loading

0 comments on commit f28823b

Please sign in to comment.