Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Bender <walter@sugarlabs.org>2010-05-30 03:26:38 (GMT)
committer Walter Bender <walter@sugarlabs.org>2010-05-30 03:26:38 (GMT)
commita2b37e1cc7050aecd856f75efd0d0691f8bb0bbd (patch)
tree52656f1564dcaa968cec66f9c413239c2644b75e
parent75eb073ee60f04ca436856be24ab31c19c1e5d3c (diff)
fixed missing type error
-rw-r--r--NEWS4
-rw-r--r--abacus_window.py6
2 files changed, 10 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 696e5b5..48745e3 100644
--- a/NEWS
+++ b/NEWS
@@ -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