Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ep_layer_filledspline.py
diff options
context:
space:
mode:
authorThomas Jourdan <b.vehikel@googlemail.com>2010-02-12 17:00:58 (GMT)
committer Thomas Jourdan <b.vehikel@googlemail.com>2010-02-12 17:00:58 (GMT)
commit389d08d48141e299774eb0be952999468747486b (patch)
tree3b4337b89f6bce40708eb2d1f578ffc8bb598dab /ep_layer_filledspline.py
parentc81c18ddf83a97147e1025129a65fe538c34acb7 (diff)
An 'explain details' page is added to Kandid.
Try to fix po/de.po not uptodate.
Diffstat (limited to 'ep_layer_filledspline.py')
-rw-r--r--ep_layer_filledspline.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ep_layer_filledspline.py b/ep_layer_filledspline.py
index 656213a..a006ded 100644
--- a/ep_layer_filledspline.py
+++ b/ep_layer_filledspline.py
@@ -99,6 +99,7 @@ class FilledSpline(model_layer.Layer):
colorgamuttype_constraint = cpool.get(self, COLORGAMUTTYPE_CONSTRAINT)
self.colorgamut = colorgamut_factory.create_random(colorgamuttype_constraint,
self.path)
+ self.colorgamut.randomize()
self.linecolor = self.colorgamut.get_randomized_color(self.path)
self.fillcolor = self.colorgamut.get_randomized_color(self.path)
self.line_width = model_random.uniform_constrained(line_width_constraint)
@@ -237,4 +238,5 @@ class FilledSpline(model_layer.Layer):
colorgamuttype_constraint = cpool.get(self, COLORGAMUTTYPE_CONSTRAINT)
new_one.colorgamut = colorgamut_factory.create_random(colorgamuttype_constraint,
new_one.path)
+ new_one.colorgamut.randomize()
return new_one