summaryrefslogtreecommitdiffstats
path: root/libdimension-python
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-08-12 11:27:22 -0600
committerTavian Barnes <tavianator@gmail.com>2011-08-12 11:27:22 -0600
commit35ffff5eac99d198c49933901d2bd0dddd520a74 (patch)
tree347fc70bb8ed224956226b3cee0c4cc61f7919bc /libdimension-python
parent7742c81f3cbfa01f5e81ae6f5fe2c8edf754edb4 (diff)
downloaddimension-35ffff5eac99d198c49933901d2bd0dddd520a74.tar.xz
Rename "translucency" to "transparency".
Perhaps I should look up terms before I use them.
Diffstat (limited to 'libdimension-python')
-rw-r--r--libdimension-python/dimension.pxd2
-rw-r--r--libdimension-python/dimension.pyx4
2 files changed, 3 insertions, 3 deletions
diff --git a/libdimension-python/dimension.pxd b/libdimension-python/dimension.pxd
index e1bcc1e..5523cc0 100644
--- a/libdimension-python/dimension.pxd
+++ b/libdimension-python/dimension.pxd
@@ -366,7 +366,7 @@ cdef extern from "../libdimension/dimension.h":
DMNSN_RENDER_PIGMENT
DMNSN_RENDER_LIGHTS
DMNSN_RENDER_FINISH
- DMNSN_RENDER_TRANSLUCENCY
+ DMNSN_RENDER_TRANSPARENCY
DMNSN_RENDER_REFLECTION
DMNSN_RENDER_FULL
diff --git a/libdimension-python/dimension.pyx b/libdimension-python/dimension.pyx
index 4485bfe..c219f74 100644
--- a/libdimension-python/dimension.pyx
+++ b/libdimension-python/dimension.pyx
@@ -1487,7 +1487,7 @@ def _quality_to_string(int quality):
s += 'l'
if quality & DMNSN_RENDER_FINISH:
s += 'f'
- if quality & DMNSN_RENDER_TRANSLUCENCY:
+ if quality & DMNSN_RENDER_TRANSPARENCY:
s += 't'
if quality & DMNSN_RENDER_REFLECTION:
s += 'r'
@@ -1520,7 +1520,7 @@ def _string_to_quality(str quality not None):
elif ch == 'f':
flag = DMNSN_RENDER_FINISH
elif ch == 't':
- flag = DMNSN_RENDER_TRANSLUCENCY
+ flag = DMNSN_RENDER_TRANSPARENCY
elif ch == 'r':
flag = DMNSN_RENDER_REFLECTION
else: