Skip to content

Commit

Permalink
Fix #2593 bedrock block GUI display preset incorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
JannisX11 committed Dec 22, 2024
1 parent e571275 commit 3e37689
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/display_mode.js
Original file line number Diff line number Diff line change
Expand Up @@ -1426,6 +1426,9 @@ DisplayMode.applyPreset = function(preset, all) {
if (!preset_values.rotation_pivot) Project.display_settings[sl].rotation_pivot.replace([0, 0, 0]);
if (!preset_values.scale_pivot) Project.display_settings[sl].scale_pivot.replace([0, 0, 0]);
Project.display_settings[sl].extend(preset.areas[sl]);
if (preset.id == 'block' && Format.id == 'bedrock_block' && sl == 'gui') {
Project.display_settings[sl].rotation[1] = 45;
}
}
})
DisplayMode.updateDisplayBase()
Expand Down

0 comments on commit 3e37689

Please sign in to comment.