Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/compare3lesson.py
diff options
context:
space:
mode:
authorpmoxhay <pmoxhay@earthlink.net>2009-03-25 20:36:58 (GMT)
committer pmoxhay <pmoxhay@earthlink.net>2009-03-25 20:36:58 (GMT)
commitf1a7e150b0f27ae32afaf678b22ae60952afa8d8 (patch)
tree63cdb1dff0564ab7f1f6bd19663380dde2ca1837 /compare3lesson.py
parentf742707313ab687432d85815d6db0bd9ac578e07 (diff)
Improved drawing of volume containers.
(Fixed drawing of ellipses.)
Diffstat (limited to 'compare3lesson.py')
-rw-r--r--compare3lesson.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/compare3lesson.py b/compare3lesson.py
index b9552db..ab3d84b 100644
--- a/compare3lesson.py
+++ b/compare3lesson.py
@@ -68,7 +68,7 @@ class Compare3Lesson(ObjectArea):
self.problem_type = 'area'
# Uncomment this to choose a particular problem type.
- self.problem_type = 'cutting'
+ #self.problem_type = 'volume'
self.progress = ProgressObject(Vector(10, 700), 30)
@@ -154,7 +154,8 @@ class Compare3Lesson(ObjectArea):
self.shapesanswer.z = -100
self.add_object(self.shapesanswer)
- if self.problem_type == 'area' or self.problem_type == 'length':
+ if self.problem_type == 'area' or self.problem_type == 'length' \
+ or self.problem_type == 'volume' or self.problem_type == 'cutting':
self.problem.shape1.in_answer_box = True
self.problem.shape2.in_answer_box = True