MorganGrundy / MosaicMagnifique

Application for generating Photomosaics. Turn your images into beautiful Photomosaics.
https://morgangrundy.github.io
GNU General Public License v3.0
15 stars 0 forks source link

[BUG] Cell Shape flipping crash #2

Closed MorganGrundy closed 4 years ago

MorganGrundy commented 4 years ago

Describe the bug App crashes when changing the flip state of the pre-made Hexagon.mcs cell shape.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Cell Shape' tab
  2. Load 'Hexagon.mcs'
  3. Click on one of the check boxes for row flipping or column flipping
  4. App crashes

Expected behavior Hexagon cell shape should have been modified to use flipping.

Context (Environment):

Additional context If I recreate the Hexagon cell shape by loading the cell mask and setting the options identically, then flipping works properly.

MorganGrundy commented 4 years ago

When loading cell shapes with a version <= 4 (before flipping was implemented) the flipped cell masks were not being created. Which caused a crash when the flip states changed. Commit: bd6303c685d1a6e02c76c2d0fce56ae9ac01917b