mirror of
https://github.com/JannisX11/blockbench.git
synced 2025-04-06 17:31:09 +08:00
Add Image format screen
Rename Texture menu to Image
This commit is contained in:
parent
5e14670ae0
commit
e41e8d4beb
BIN
assets/image_editor.png
Normal file
BIN
assets/image_editor.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 48 KiB |
@ -308,7 +308,7 @@ const MenuBar = {
|
||||
}
|
||||
})
|
||||
|
||||
new BarMenu('texture', [
|
||||
new BarMenu('image', [
|
||||
new MenuSeparator('adjustment'),
|
||||
'adjust_brightness_contrast',
|
||||
'adjust_saturation_hue',
|
||||
|
@ -116,6 +116,13 @@ new ModelFormat('image', {
|
||||
per_texture_uv_size: true,
|
||||
edit_mode: false,
|
||||
image_editor: true,
|
||||
format_page: {
|
||||
button_text: 'format.image.new',
|
||||
content: [
|
||||
{type: 'image', source: './assets/image_editor.png', width: 640},
|
||||
{text: tl('format.image.info.summary')},
|
||||
]
|
||||
},
|
||||
new() {
|
||||
if (newProject(this)) {
|
||||
TextureGenerator.addBitmapDialog();
|
||||
|
@ -157,6 +157,8 @@
|
||||
|
||||
"format.image": "Image",
|
||||
"format.image.desc": "Edit images in the 2D image editor",
|
||||
"format.image.new": "Create New Image",
|
||||
"format.image.info.summary": "The 2D Image editor lets you create and edit images and pixel art directly in Blockbench, without the need for an external image editor. Edit images, modify textures, or create your own pixel art!",
|
||||
|
||||
"format_category.general": "General",
|
||||
"format_category.low_poly": "Low-Poly",
|
||||
@ -1820,6 +1822,7 @@
|
||||
"menu.transform": "Transform",
|
||||
"menu.uv": "UV",
|
||||
"menu.texture": "Texture",
|
||||
"menu.image": "Image",
|
||||
"menu.tools": "Tools",
|
||||
"menu.display": "Display",
|
||||
"menu.animation": "Animation",
|
||||
|
Loading…
x
Reference in New Issue
Block a user