Meta::toFile now returns, as it should
This commit is contained in:
parent
c12e7897cf
commit
108499bc58
1 changed files with 2 additions and 0 deletions
|
@ -1988,7 +1988,9 @@ namespace DTSC {
|
|||
bool Meta::toFile(const std::string & fileName){
|
||||
std::ofstream oFile(fileName.c_str());
|
||||
oFile << toJSON().toNetPacked();
|
||||
if (!oFile.good()){return false;}
|
||||
oFile.close();
|
||||
return true;
|
||||
}
|
||||
|
||||
///\brief Converts a meta object to a human readable string
|
||||
|
|
Loading…
Add table
Reference in a new issue