summaryrefslogtreecommitdiffstats
path: root/libdimension-python
diff options
context:
space:
mode:
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: