mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-03-13 23:05:20 +00:00
Fix image export with split layers ignoring layer effects
This commit is contained in:
parent
9860f08d56
commit
5ab6cc289d
1 changed files with 4 additions and 2 deletions
|
@ -279,9 +279,11 @@ func process_animation(project := Global.current_project) -> void:
|
|||
var frames := _calculate_frames(project)
|
||||
for frame in frames:
|
||||
if split_layers:
|
||||
for cel in frame.cels:
|
||||
for i in frame.cels.size():
|
||||
var cel := frame.cels[i]
|
||||
var layer := project.layers[i]
|
||||
var image := Image.new()
|
||||
image.copy_from(cel.get_image())
|
||||
image.copy_from(layer.display_effects(cel))
|
||||
var duration := frame.get_duration_in_seconds(project.fps)
|
||||
processed_images.append(
|
||||
ProcessedImage.new(image, project.frames.find(frame), duration)
|
||||
|
|
Loading…
Add table
Reference in a new issue