lua first use of setpicturesize resets last changed color
here is how to reproduce the bug:
- load a file.
- change a color or more in the palette editor.
- run a script that uses setpicturesize. (this only happens the first time, if you than again run a script with setpicturesize that bug don't happen, but if u close grafx2 and start it again it will happen again)
- after that the last changed color is back to its previous value, (if you change a color multiple times for example from r0 g0 b0 to r127 g127 b127 and than to r255 g255 g255 it will than be r127 g127 b127 after the run of the script) but the color in the palette on the toolbar gets not updated and u can still draw with it, if you place the mouse cursor over that color in the toolbar palette you can see that it has its previous value, the toolbar palette entry and all you have drawn with that color gets changed to the real value (the previous) after entering the palette editor.
- it also saves the previous color if you save the file.
Change History (8)
Note: See TracTickets for help on using tickets.