Build viewer/editor #13

Manually merged
williamjcm merged 128 commits from mass-viewer into master 2022-03-02 14:50:10 +01:00
Showing only changes of commit 911e18fc0a - Show all commits

View file

@ -40,6 +40,7 @@ auto UESaveFile::lastError() const -> const std::string& {
auto UESaveFile::reloadData() -> bool {
if(_noReloadAfterSave) {
_noReloadAfterSave = false;
return valid();
}
@ -211,8 +212,11 @@ void UESaveFile::loadData() {
}
if(_properties.back()->name != "None" && _properties.back()->propertyType != "NoneProperty") {
_lastError = "Couldn't find a final NoneProperty.";
return;
}
reader.closeFile();
_valid = true;
}