Skip to content
Snippets Groups Projects
Commit 01631d50 authored by Éric Béchet's avatar Éric Béchet
Browse files

missing #if define(HAVE_LUA) ...

parent 3c1b6606
No related branches found
No related tags found
No related merge requests found
......@@ -3215,8 +3215,12 @@ int GModel::readDIFF(const std::string &name)
}
int GModel::readLUA(const std::string &name)
{
#if defined(HAVE_LUA)
int status = binding::instance()->readFile(name.c_str());
return status;
#else
return 0;
#endif
}
int GModel::writeDIFF(const std::string &name, bool binary, bool saveAll,
double scalingFactor)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment