Author: alink
Date: Wed Mar 5 03:32:03 2008
New Revision: 24315
URL: http://svn.gna.org/viewcvs/wesnoth?rev=24315&view=rev
Log:
Fix the "Delay transition update" option of the editor
(directly update the map when setting it off, don't wait a draw operation)
Also fix the "Update transition" (was not working, which is more annoying).
It was still usable but less handy to switch between 2 modes (builded or not)
Modified:
trunk/src/editor/editor.cpp
Modified: trunk/src/editor/editor.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor/editor.cpp?rev=24315&r1=24314&r2=24315&view=diff
==============================================================================
--- trunk/src/editor/editor.cpp (original)
+++ trunk/src/editor/editor.cpp Wed Mar 5 03:32:03 2008
@@ -1617,10 +1617,10 @@
if (auto_update_) {
gui_.rebuild_all();
gui_.invalidate_all();
+ map_dirty_ = false;
}
gui_.recalculate_minimap();
recalculate_starting_pos_labels();
- map_dirty_ = false;
}
}
if (l_button_palette_dirty_) {
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits