From 35ffff5eac99d198c49933901d2bd0dddd520a74 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 12 Aug 2011 11:27:22 -0600 Subject: Rename "translucency" to "transparency". Perhaps I should look up terms before I use them. --- libdimension-python/dimension.pxd | 2 +- libdimension-python/dimension.pyx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libdimension-python') 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: -- cgit v1.2.3