[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz/gfx/libutil effects.py
From: |
Matti Katila |
Subject: |
[Gzz-commits] gzz/gfx/libutil effects.py |
Date: |
Fri, 10 Jan 2003 12:23:54 -0500 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Matti Katila <address@hidden> 03/01/10 12:23:54
Modified files:
gfx/libutil : effects.py
Log message:
dbg
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/libutil/effects.py.diff?tr1=1.28&tr2=1.29&r1=text&r2=text
Patches:
Index: gzz/gfx/libutil/effects.py
diff -u gzz/gfx/libutil/effects.py:1.28 gzz/gfx/libutil/effects.py:1.29
--- gzz/gfx/libutil/effects.py:1.28 Fri Jan 10 07:38:44 2003
+++ gzz/gfx/libutil/effects.py Fri Jan 10 12:23:54 2003
@@ -39,6 +39,7 @@
frameColor=java.awt.Color.black,
type = "square"):
+ self.dbg = 0
if typeInt == 1:
type = 'square'
elif typeInt == 2:
@@ -133,8 +134,10 @@
ripple_scale = border / ripple
ratio = float(ripple_scale) / self.ripple_scale
+
if ratio < 3./4 or ratio > 4./3:
- print "WARNING: anisotropy ratio", round(ratio,2), "is far
from one"
+ if self.dbg:
+ print "WARNING: anisotropy ratio", round(ratio,2), "is far
from one"
# Irregu flags
Y_COLOR = 1;