Commit 7375fea4 authored by Janis Born's avatar Janis Born

deprecate old OBJ loader and call the new function instead

parent 0467bfe9
......@@ -9,6 +9,8 @@
#include <ACGL/Base/StringOperations.hh>
#include <ACGL/OpenGL/Data/GeometryDataLoadStore.hh>
#include <vector>
#include <iostream>
#include <fstream>
......@@ -21,6 +23,12 @@ using namespace ACGL::Base;
bool GeometryDataControlFileOBJ::load(SharedGeometryData& geometry) const
{
if(geometry = loadGeometryDataFromOBJ(getFullFilePath()))
return true;
else
return false;
/*
std::string fullFileName = getFullFilePath();
std::string line = "";
......@@ -296,5 +304,5 @@ bool GeometryDataControlFileOBJ::load(SharedGeometryData& geometry) const
}
return true;
*/
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment