diff --git a/project/OverlappingDemos.tscn b/project/OverlappingDemos.tscn index ae3e557..7a91896 100644 --- a/project/OverlappingDemos.tscn +++ b/project/OverlappingDemos.tscn @@ -56,6 +56,13 @@ margin_bottom = 318.0 rect_min_size = Vector2( 300, 300 ) expand = true +[node name="Label2" type="Label" parent="VBoxContainer2/VBoxContainer/HBoxContainer2"] +margin_top = 322.0 +margin_right = 300.0 +margin_bottom = 387.0 +text = "Note: If an image does not appear here, that means the generation has failed. At this stage it's likely a bug. Try clicking randomize a few times." +autowrap = true + [node name="HBoxContainer3" type="VBoxContainer" parent="VBoxContainer2/VBoxContainer"] margin_left = 608.0 margin_right = 1010.0 diff --git a/project/TextureRect.gd b/project/TextureRect.gd index 1ee512d..fc094c9 100644 --- a/project/TextureRect.gd +++ b/project/TextureRect.gd @@ -344,7 +344,7 @@ func generate_image_tiled(): if (res.size() == 0): print("(res.size() == 0)") return - + var data : PoolByteArray = indexer.indices_to_argb8_data(res) var res_img : Image = Image.new()