Build viewer/editor #13
1 changed files with 4 additions and 0 deletions
|
@ -40,6 +40,7 @@ auto UESaveFile::lastError() const -> const std::string& {
|
||||||
|
|
||||||
auto UESaveFile::reloadData() -> bool {
|
auto UESaveFile::reloadData() -> bool {
|
||||||
if(_noReloadAfterSave) {
|
if(_noReloadAfterSave) {
|
||||||
|
_noReloadAfterSave = false;
|
||||||
return valid();
|
return valid();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -211,8 +212,11 @@ void UESaveFile::loadData() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if(_properties.back()->name != "None" && _properties.back()->propertyType != "NoneProperty") {
|
if(_properties.back()->name != "None" && _properties.back()->propertyType != "NoneProperty") {
|
||||||
|
_lastError = "Couldn't find a final NoneProperty.";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
reader.closeFile();
|
||||||
|
|
||||||
_valid = true;
|
_valid = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue