sm00thslp / hedgewars

Automatically exported from code.google.com/p/hedgewars
GNU General Public License v2.0
0 stars 0 forks source link

Optimize function of hand-drawn map editor appears to be broken #884

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Test case 1:
1. Start or restart Hedgewars (to ensure it’s in a “clean” state)
2. Draw a simple hand-drawn map using the hand-drawn map editor
3. Click on “Optimize”
4. Leave the editor
5. Start a game

Test case 2:
1. Start or restart Hedgewars
2. Draw a simple hand-drawn map using the hand-drawn map editor
3. Click on “Optimize”
4. Click on “Clear”

What is the expected output? What do you see instead?
Test case 1:
After 4 and 5, I expect to see my drawn map, however, the map is really 
completely empty in both preview and actual map,

Test case 2:
I exprect the map to be cleared but it won’t happen. The map in the editor 
looks the same, the only thing which changes is the number at the top left 
counter, it goes back to 0.

I also could start drawing on the map again, then press “Clear” again, or I 
could undo as much as I want. The editor seems to always revert back to the 
state when I have clicked on “Optimize”.
When I go back to the main menu, the map seems to be actually cleared, so maybe 
(!) it is the editor which fails at displaying the “real” state of the map 
correctly.

What version of the product are you using? On what operating system?
r173069dd7b17 on GNU/Linux.

Please provide any additional information below.
N/A

Original issue reported on code.google.com by almikes@aol.com on 21 Dec 2014 at 11:38

GoogleCodeExporter commented 9 years ago

Original comment by kyberneticist@gmail.com on 22 Dec 2014 at 12:19

GoogleCodeExporter commented 9 years ago

Original comment by unC0Rr on 17 Jan 2015 at 1:24