mail[Wesnoth-commits] r24316 - /branches/1.4/src/editor/editor.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by alinktomine on March 05, 2008 - 03:37:
Author: alink
Date: Wed Mar  5 03:37:45 2008
New Revision: 24316

URL: http://svn.gna.org/viewcvs/wesnoth?rev=24316&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:
    branches/1.4/src/editor/editor.cpp

Modified: branches/1.4/src/editor/editor.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/1.4/src/editor/editor.cpp?rev=24316&r1=24315&r2=24316&view=diff
==============================================================================
--- branches/1.4/src/editor/editor.cpp (original)
+++ branches/1.4/src/editor/editor.cpp Wed Mar  5 03:37:45 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_) {




Related Messages


Powered by MHonArc, Updated Wed Mar 05 04:20:44 2008