summaryrefslogtreecommitdiffstats
path: root/libdimension-python/dimension.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension-python/dimension.pyx')
-rw-r--r--libdimension-python/dimension.pyx4
1 files changed, 2 insertions, 2 deletions
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: