Author: soliton
Date: Fri Nov 2 12:42:42 2007
New Revision: 21425
URL: http://svn.gna.org/viewcvs/wesnoth?rev=21425&view=rev
Log:
* again check if the female images actually exist before converting and turn
the image generation on
Modified:
trunk/data/tools/unit_tree/units.pl
Modified: trunk/data/tools/unit_tree/units.pl
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/unit_tree/units.pl?rev=21425&r1=21424&r2=21425&view=diff
==============================================================================
--- trunk/data/tools/unit_tree/units.pl (original)
+++ trunk/data/tools/unit_tree/units.pl Fri Nov 2 12:42:42 2007
@@ -33,7 +33,7 @@
# based on the contents of the po folder of Wesnoth
my $translate = 0;
# This option will determine if the attack images are copied, and the images
units are copied and colorized
-my $images = 0;
+my $images = 1;
# This option will determine if the html report on made animations is generated
my $animations = 1;
# This is the version number that will appear on the unit trees
@@ -599,7 +599,7 @@
$image =~ s/"//g;
system ("$colorizer $data_dir/images/$image
$html_dir/$unit_folder$image");
$image =~ s/.png/+female.png/;
- system ("$colorizer $data_dir/images/$image
$html_dir/$unit_folder$image");
+ system ("$colorizer $data_dir/images/$image
$html_dir/$unit_folder$image") unless (! -e $image);
}
close UNITS;
# zombie units
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits