mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-21 01:13:37 +08:00
Add armor stand ground display presets
This commit is contained in:
parent
8da8b5bd22
commit
e04dd9d515
@ -191,6 +191,24 @@ display_presets = [
|
||||
scale: [ 0.68, 0.68, 0.68 ]
|
||||
}
|
||||
}
|
||||
},
|
||||
{id: 'armor_stand', fixed: true, areas: {
|
||||
thirdperson_righthand: {
|
||||
rotation: [ 90, 0, 0 ],
|
||||
translation: [ -6, -2, -4 ],
|
||||
scale: [ 1, 1, 1 ]
|
||||
},
|
||||
thirdperson_lefthand: {
|
||||
rotation: [ 90, 0, 0 ],
|
||||
translation: [ -6, -2, -4 ],
|
||||
scale: [ 1, 1, 1 ]
|
||||
},
|
||||
head: {
|
||||
rotation: [ 0, 0, 0 ],
|
||||
translation: [ 0, -30.4, 0 ],
|
||||
scale: [ 1.6, 1.6, 1.6 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
if (localStorage.getItem('display_presets') != null) {
|
||||
@ -1634,6 +1652,7 @@ BARS.defineActions(function() {
|
||||
case 'block': icon = 'fa-cube'; break;
|
||||
case 'handheld': icon = 'build'; break;
|
||||
case 'rod': icon = 'remove'; break;
|
||||
case 'armor_stand': icon = 'icon-armor_stand'; break;
|
||||
}
|
||||
}
|
||||
presets.push({
|
||||
|
@ -17,7 +17,6 @@ const Painter = {
|
||||
texture.saved = false
|
||||
}
|
||||
var instance = Painter.current.canvas;
|
||||
Painter.current.canvas = undefined
|
||||
|
||||
var edit_name = options.no_undo ? null : (options.edit_name || 'Edit texture');
|
||||
|
||||
|
@ -1879,6 +1879,7 @@
|
||||
"display.preset.block": "Default Block",
|
||||
"display.preset.handheld": "Default Weapon",
|
||||
"display.preset.rod": "Default Rod",
|
||||
"display.preset.armor_stand": "Ground (Armor Stand)",
|
||||
|
||||
"preview_scene.studio": "Studio",
|
||||
"preview_scene.minecraft_overworld": "Minecraft Overworld",
|
||||
|
Loading…
Reference in New Issue
Block a user