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

Restore project brush creation when copying

This commit is contained in:
Manolis Papadeas 2021-04-24 14:50:36 +03:00
parent 320c538bc3
commit a7cec3424a

View file

@ -446,6 +446,10 @@ func copy() -> void:
clipboard.big_bounding_rectangle = big_bounding_rectangle
clipboard.selection_offset = project.selection_offset
var brush : Image = to_copy.get_rect(to_copy.get_used_rect())
project.brushes.append(brush)
Brushes.add_project_brush(brush)
func paste() -> void:
if !clipboard.image: