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:
parent
320c538bc3
commit
a7cec3424a
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue