Author: ilor
Date: Sat Jul 26 20:57:59 2008
New Revision: 28227

URL: http://svn.gna.org/viewcvs/wesnoth?rev=28227&view=rev
Log:
port r28225 to editor2

Modified:
    trunk/src/editor2/editor_palettes.cpp

Modified: trunk/src/editor2/editor_palettes.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/editor_palettes.cpp?rev=28227&r1=28226&r2=28227&view=diff
==============================================================================
--- trunk/src/editor2/editor_palettes.cpp (original)
+++ trunk/src/editor2/editor_palettes.cpp Sat Jul 26 20:57:59 2008
@@ -83,6 +83,9 @@
 
         // don't display terrains that were automatically created from 
base+overlay
                if (t_info.is_combined())
+                       continue;
+               // nor display terrains that have hide_in_editor=true
+               if (t_info.hide_in_editor())
                        continue;
 
                // add the terrain to the requested groups


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to