mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-21 01:13:37 +08:00
Fix issue with lock alpha channel on large brushes
Hide Bedrock Block format on start screen Update Font Awesome
This commit is contained in:
parent
137d97998f
commit
19d551003b
Binary file not shown.
@ -1234,6 +1234,7 @@ var block_format = new ModelFormat({
|
||||
category: 'minecraft',
|
||||
extension: 'json',
|
||||
icon: 'icon-format_bedrock',
|
||||
show_on_start_screen: false,
|
||||
rotate_cubes: true,
|
||||
box_uv: false,
|
||||
optional_box_uv: true,
|
||||
|
@ -870,7 +870,7 @@ const Painter = {
|
||||
if (Math.isNumber(base)) base = Jimp.intToRGBA(base)
|
||||
if (Math.isNumber(added)) added = Jimp.intToRGBA(added)
|
||||
|
||||
if (added.a*opacity == 1) return added
|
||||
if (added.a*opacity == 1) return {r: added.r, g: added.g, b: added.b, a: added.a};
|
||||
|
||||
var original_a = added.a
|
||||
added.a = added.a*opacity
|
||||
|
Loading…
Reference in New Issue
Block a user