mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix LevelScreen::saveWorldPreview
This commit is contained in:
parent
acff945492
commit
91b14f4264
1 changed files with 1 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ void LevelScreen::saveWorldPreview() {
|
|||
int previewSize = settings.ui.worldPreviewSize.get();
|
||||
|
||||
// camera special copy for world preview
|
||||
Camera& camera = *player.fpCamera;
|
||||
Camera camera = *player.fpCamera;
|
||||
camera.setFov(glm::radians(70.0f));
|
||||
|
||||
DrawContext pctx(nullptr, engine.getWindow(), batch.get());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue