mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-27 04:21:46 +08:00
Setting for bedrock UV rotations
This commit is contained in:
parent
932ca226f3
commit
60c1f4ecc0
@ -465,6 +465,10 @@ const Settings = {
|
||||
}});
|
||||
new Setting('stretch_linked', {category: 'edit', value: true});
|
||||
new Setting('auto_keyframe', {category: 'edit', value: true});
|
||||
new Setting('bedrock_uv_rotations', {category: 'edit', value: false, name: 'Bedrock UV Rotations (Experimental)', description: 'Enable the experimental bedrock UV rotations feature.', onChange(value) {
|
||||
Formats.bedrock.uv_rotation = value;
|
||||
Formats.bedrock_block.uv_rotation = value;
|
||||
}});
|
||||
|
||||
//Grid
|
||||
new Setting('grids', {category: 'grid', value: true, onChange() {Canvas.buildGrid()}});
|
||||
|
@ -1298,7 +1298,7 @@ var entity_format = new ModelFormat({
|
||||
rotate_cubes: true,
|
||||
box_uv: true,
|
||||
optional_box_uv: true,
|
||||
uv_rotation: true,
|
||||
uv_rotation: settings.bedrock_uv_rotations.value,
|
||||
single_texture: true,
|
||||
bone_rig: true,
|
||||
centered_grid: true,
|
||||
@ -1337,7 +1337,7 @@ var block_format = new ModelFormat({
|
||||
rotate_cubes: true,
|
||||
box_uv: false,
|
||||
optional_box_uv: true,
|
||||
uv_rotation: true,
|
||||
uv_rotation: settings.bedrock_uv_rotations.value,
|
||||
single_texture: false,
|
||||
bone_rig: true,
|
||||
centered_grid: true,
|
||||
|
Loading…
Reference in New Issue
Block a user