[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] libvob/vob/paper papermill.py
From: |
Asko Soukka |
Subject: |
[Gzz-commits] libvob/vob/paper papermill.py |
Date: |
Tue, 29 Apr 2003 09:33:24 -0400 |
CVSROOT: /cvsroot/libvob
Module name: libvob
Changes by: Asko Soukka <address@hidden> 03/04/29 09:33:24
Modified files:
vob/paper : papermill.py
Log message:
vecs parameter
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/vob/paper/papermill.py.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
Patches:
Index: libvob/vob/paper/papermill.py
diff -u libvob/vob/paper/papermill.py:1.3 libvob/vob/paper/papermill.py:1.4
--- libvob/vob/paper/papermill.py:1.3 Tue Apr 29 07:48:51 2003
+++ libvob/vob/paper/papermill.py Tue Apr 29 09:33:24 2003
@@ -115,7 +115,8 @@
def getPaper(self, seed, passmask=[1,1,1,1,1,1,1],
numcolors = 8,
minlum = 80,
- blend = 0):
+ blend = 0,
+ vecs = None):
pap = PaperHanger()
pap.reg = Registry()
@@ -135,10 +136,7 @@
colors = Colors(rng.nextInt(), colors = numcolors, minlum = minlum,
blend = blend)
textures = Textures(rng.nextInt())
- rootrep = TexGenXYRepeatUnit(rng, scale = 0.3 * scaleFactor)
-
- # Storing the repeating unit
- pap.repeatingUnit = rootrep
+ rootrep = TexGenXYRepeatUnit(rng, scale = 0.3 * scaleFactor, vecs =
vecs)
pap.setNPasses(len(passes))