1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Fix random brushes not working

This commit is contained in:
Emmanouil Papadeas 2023-11-06 01:28:54 +02:00
parent 8a87f721b8
commit 0e5cc58058

View file

@ -164,6 +164,7 @@ func update_random_image() -> void:
return
var random := randi() % _brush.random.size()
_brush_image = _create_blended_brush_image(_brush.random[random])
_orignal_brush_image = _brush_image
_brush_texture = ImageTexture.create_from_image(_brush_image)
_indicator = _create_brush_indicator()
update_mirror_brush()