Orama-Interactive / Pixelorama

Unleash your creativity with Pixelorama, a powerful and accessible open-source pixel art multitool. Whether you want to create sprites, tiles, animations, or just express yourself in the language of pixel art, this software will realize your pixel-perfect dreams with a vast toolbox of features. Available on Windows, Linux, macOS and the Web!
https://orama-interactive.itch.io/pixelorama
MIT License
6.46k stars 351 forks source link

Fill bucket similar colors crash if selecting multiple linked cells #1003

Open Kagoriyuki opened 3 months ago

Kagoriyuki commented 3 months ago

Pixelorama version: 0.11.3 [Linux 64-bit]

Issue description: Attempting to use the fill bucket to replace colors in the whole animation, I selected all cells and clicked which caused the crash. I'm able to reproduce while selecting just two cells as well.

Terminal output on crash: Segmentation fault (core dumped)

Steps to reproduce:

  1. Create multiple cells and link them in some way
  2. Choose fill bucket and set the mode to similar colors
  3. Select at least two of the linked cells and click a pixel

https://github.com/Orama-Interactive/Pixelorama/assets/96801887/cae870df-a8ec-4de5-ad74-aa28ba97a991