diff options
author | Walter Bender <walter@sugarlabs.org> | 2010-05-30 03:26:38 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2010-05-30 03:26:38 (GMT) |
commit | a2b37e1cc7050aecd856f75efd0d0691f8bb0bbd (patch) | |
tree | 52656f1564dcaa968cec66f9c413239c2644b75e | |
parent | 75eb073ee60f04ca436856be24ab31c19c1e5d3c (diff) |
fixed missing type error
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | abacus_window.py | 6 |
2 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,7 @@ +7 + +* added missing type to rods + 6 * added binary abacus diff --git a/abacus_window.py b/abacus_window.py index 6507933..88038e3 100644 --- a/abacus_window.py +++ b/abacus_window.py @@ -316,6 +316,8 @@ class AbacusGeneric(): *self.abacus.scale, self.colors[0])) + for r in self.rods: + r.type = "frame" for i in self.beads: i.type = 'bead' i.state = 0 @@ -680,6 +682,8 @@ class Schety(AbacusGeneric): y+(2+b)*BHEIGHT*self.abacus.scale, color)) + for r in self.rods: + r.type = "frame" for i in self.beads: i.type = 'bead' i.state = 0 @@ -856,6 +860,8 @@ class Fractions(AbacusGeneric): self.abacus.scale, self.white)) + for r in self.rods: + r.type = "frame" for i in self.beads: i.type = 'bead' i.state = 0 |