add 'perspective' NotePreset property

This commit is contained in:
MihailRis
2024-11-15 02:21:05 +03:00
parent 2147f507a6
commit 525cf1ed4b
6 changed files with 26 additions and 3 deletions
+2
View File
@@ -36,6 +36,7 @@ dv::value NotePreset::serialize() const {
{"scale", scale},
{"render_distance", renderDistance},
{"xray_opacity", xrayOpacity},
{"perspective", perspective},
});
}
@@ -49,4 +50,5 @@ void NotePreset::deserialize(const dv::value& src) {
src.at("scale").get(scale);
src.at("render_distance").get(renderDistance);
src.at("xray_opacity").get(xrayOpacity);
src.at("perspective").get(perspective);
}