Skip to content

Commit

Permalink
Mirror image image effect now works with indexed mode
Browse files Browse the repository at this point in the history
  • Loading branch information
OverloadedOrama committed Dec 22, 2024
1 parent a698668 commit 616bd91
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/UI/Dialogs/ImageEffects/FlipImageDialog.gd
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ func _flip_image(cel: Image, affect_selection: bool, project: Project) -> void:
if flip_v.button_pressed:
selected.flip_y()
cel.blend_rect(selected, Rect2i(Vector2i.ZERO, selected.get_size()), rectangle.position)
if cel is ImageExtended:
cel.convert_rgb_to_indexed()


func _commit_undo(action: String, undo_data: Dictionary, project: Project) -> void:
Expand Down

0 comments on commit 616bd91

Please sign in to comment.