[keel,nostalgia/core/studio] Fix asset update notifications

This commit is contained in:
2023-07-15 17:30:26 -05:00
parent 9ceb1df49e
commit 4cf96878a9
4 changed files with 24 additions and 6 deletions

View File

@@ -125,8 +125,10 @@ ox::Error Project::writeObj(const ox::StringView &path, const T *obj, ox::ClawFo
const auto typePath = ox::sfmt("/{}/{}", descPath, buildTypeId(*t));
oxReturnError(writeBuff(typePath, typeOut));
}
oxDebug(path);
oxReturnError(keel::setAsset(m_ctx, path, *obj));
fileUpdated.emit(path);
return OxError(0);
return {};
}
template<typename T>