Captain-Chaos / WorldPainter

WorldPainter is an interactive graphical map generator for the indie game Minecraft.
http://www.worldpainter.net/
GNU General Public License v3.0
341 stars 58 forks source link

Some 1 bit masks import inverted #396

Open Klime65536 opened 3 weeks ago

Klime65536 commented 3 weeks ago

Importing certain 1 bit masks always imports inverted regardless of which color is which. Importing the mask, undoing, going to an external editor and "invert colors"ing the mask, then reimporting it gives exactly the same results (in my case I'm trying to import a mask for gravel paths, but no matter what I do everything except the gravel paths becomes gravel) I have attached the mask (warning, 23kx31k image), I have not been able to determine what makes this specific mask import inverted compared to other similar masks https://github.com/Captain-Chaos/WorldPainter/assets/8796893/48d246e0-343c-4eaf-be0e-6463e538a5eb EDIT: it might be due to the top left corner being white?