mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-19 01:29:49 +00:00
Fix random brushes not working
This commit is contained in:
parent
8a87f721b8
commit
0e5cc58058
|
@ -164,6 +164,7 @@ func update_random_image() -> void:
|
||||||
return
|
return
|
||||||
var random := randi() % _brush.random.size()
|
var random := randi() % _brush.random.size()
|
||||||
_brush_image = _create_blended_brush_image(_brush.random[random])
|
_brush_image = _create_blended_brush_image(_brush.random[random])
|
||||||
|
_orignal_brush_image = _brush_image
|
||||||
_brush_texture = ImageTexture.create_from_image(_brush_image)
|
_brush_texture = ImageTexture.create_from_image(_brush_image)
|
||||||
_indicator = _create_brush_indicator()
|
_indicator = _create_brush_indicator()
|
||||||
update_mirror_brush()
|
update_mirror_brush()
|
||||||
|
|
Loading…
Reference in a new issue