mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
add 'perspective' NotePreset property
This commit is contained in:
parent
2147f507a6
commit
525cf1ed4b
6 changed files with 26 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue