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

Implemented a fix for UndoRedo leak (#34) - Thanks to qarmin!

This commit is contained in:
OverloadedOrama 2019-12-13 00:19:28 +02:00
parent 634c459d08
commit a4b7fe2205
2 changed files with 5 additions and 0 deletions

View file

@ -26,6 +26,7 @@ Current features as of version v0.5:
- Greek localization support!
Make sure to visit our website for more information! https://www.orama-interactive.com/pixelorama
Join our Discord community server where we can discuss about Pixelorama and all our other projects! https://discord.gg/GTMtr8s
Download it as a stand-alone on itch.io: https://orama-interactive.itch.io/pixelorama

View file

@ -457,3 +457,7 @@ func blend_image_with_color(image : Image, color : Color, interpolate_factor : f
else: #If color is transparent - if it's the eraser
blended_image.set_pixel(xx, yy, Color(0, 0, 0, 0))
return blended_image
func _exit_tree() -> void:
# Thanks to qarmin from GitHub for pointing this out
undo_redo.free()