mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 15:01:49 +00:00
fix: user bits and manually set rotation not saving
This commit is contained in:
parent
6d933ac263
commit
86dd6562de
4 changed files with 18 additions and 10 deletions
|
|
@ -79,6 +79,11 @@ public:
|
|||
|
||||
inline void setModified(bool newState) {setFlags(ChunkFlag::MODIFIED, newState);}
|
||||
|
||||
inline void setModifiedAndUnsaved() {
|
||||
setModified(true);
|
||||
setUnsaved(true);
|
||||
}
|
||||
|
||||
inline void setLoaded(bool newState) {setFlags(ChunkFlag::LOADED, newState);}
|
||||
|
||||
inline void setLoadedLights(bool newState) {setFlags(ChunkFlag::LOADED_LIGHTS, newState);}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue