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',
|
category: 'minecraft',
|
||||||
extension: 'json',
|
extension: 'json',
|
||||||
icon: 'icon-format_bedrock',
|
icon: 'icon-format_bedrock',
|
||||||
|
show_on_start_screen: false,
|
||||||
rotate_cubes: true,
|
rotate_cubes: true,
|
||||||
box_uv: false,
|
box_uv: false,
|
||||||
optional_box_uv: true,
|
optional_box_uv: true,
|
||||||
|
@ -870,7 +870,7 @@ const Painter = {
|
|||||||
if (Math.isNumber(base)) base = Jimp.intToRGBA(base)
|
if (Math.isNumber(base)) base = Jimp.intToRGBA(base)
|
||||||
if (Math.isNumber(added)) added = Jimp.intToRGBA(added)
|
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
|
var original_a = added.a
|
||||||
added.a = added.a*opacity
|
added.a = added.a*opacity
|
||||||
|
Loading…
x
Reference in New Issue
Block a user