mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
feat: cameras saving/loading
This commit is contained in:
parent
45c4da048c
commit
a013e7eefd
8 changed files with 66 additions and 17 deletions
|
|
@ -59,6 +59,7 @@ void LevelController::saveWorld() {
|
|||
level->getWorld()->wfile->createDirectories();
|
||||
logger.info() << "writing world";
|
||||
scripting::on_world_save();
|
||||
level->onSave();
|
||||
level->getWorld()->write(level.get());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue