gcompris r3402 - branches/gcomprixogoo/src/anim-activity
- From: bcoudoin svn gnome org
- To: svn-commits-list gnome org
- Subject: gcompris r3402 - branches/gcomprixogoo/src/anim-activity
- Date: Sat, 3 May 2008 23:28:14 +0100 (BST)
Author: bcoudoin
Date: Sat May 3 22:28:13 2008
New Revision: 3402
URL: http://svn.gnome.org/viewvc/gcompris?rev=3402&view=rev
Log:
minor fix, can save and load ellipse now.
Modified:
branches/gcomprixogoo/src/anim-activity/anim.py
Modified: branches/gcomprixogoo/src/anim-activity/anim.py
==============================================================================
--- branches/gcomprixogoo/src/anim-activity/anim.py (original)
+++ branches/gcomprixogoo/src/anim-activity/anim.py Sat May 3 22:28:13 2008
@@ -2294,8 +2294,8 @@
print "restore_item C"
# To be backward compatible, rename some properties
- if ( ((item.type == 'CIRCLE') or (item.type == 'FILL_CIRCLE')
- and (modif.has_key('x2'))) ):
+ if ( ((item.type == 'CIRCLE') or (item.type == 'FILL_CIRCLE'))
+ and (modif.has_key('x2')) ):
modif['radius_x'] = (modif['x2'] - modif['x1'])/2
modif['radius_y'] = (modif['y2'] - modif['y1'])/2
modif['center_x'] = modif['x1'] + modif['radius_x']
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]