From: <au...@us...> - 2011-09-03 18:22:24
|
Revision: 9722 http://supertuxkart.svn.sourceforge.net/supertuxkart/?rev=9722&view=rev Author: auria Date: 2011-09-03 18:22:18 +0000 (Sat, 03 Sep 2011) Log Message: ----------- FIxed kart export bug found by Kinsu, thanks Modified Paths: -------------- media/trunk/blender_25/stk_kart.py Modified: media/trunk/blender_25/stk_kart.py =================================================================== --- media/trunk/blender_25/stk_kart.py 2011-09-03 18:13:38 UTC (rev 9721) +++ media/trunk/blender_25/stk_kart.py 2011-09-03 18:22:18 UTC (rev 9722) @@ -290,8 +290,8 @@ f.write(' shadow-file = "%s"\n' % kart_shadow) center_shift = the_scene['center_shift'] - if center_shift and len(center_shift) > 0: - f.write(' center-shift = "%s"\n' % center_shift) + if center_shift and center_shift != 0: + f.write(' center-shift = "%.2f"\n' % center_shift) f.write(' groups = "%s"\n' % kart_group) f.write(' rgb = "%s %s %s" >\n' % tuple(split_color)) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |