From 9c29ec4e49fadffda3f4a1d11a5bffbc20727f58 Mon Sep 17 00:00:00 2001 From: cobrapitz <12397702+cobrapitz@users.noreply.github.com> Date: Sun, 22 Nov 2020 11:40:59 +0100 Subject: [PATCH] fixed cut tool to have a "different" kind of transparent --- addons/Godoxel/Layer.gd | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/Godoxel/Layer.gd b/addons/Godoxel/Layer.gd index 0c7bf62..40251eb 100644 --- a/addons/Godoxel/Layer.gd +++ b/addons/Godoxel/Layer.gd @@ -25,6 +25,7 @@ func create(texture_rect_ref, width: int, height: int): image = Image.new() image.create(width, height, false, Image.FORMAT_RGBA8) + image.fill(Color.transparent) update_texture()