summaryrefslogtreecommitdiffstats
path: root/libdimension-python/dimension.pyx
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2014-05-30 19:23:34 -0400
committerTavian Barnes <tavianator@tavianator.com>2014-05-30 19:23:34 -0400
commit72daebf48e4a27de9f6633b2693ab96fb4ef1e44 (patch)
tree41d98c736ea9fcb6cdc47c621130b08b48a145de /libdimension-python/dimension.pyx
parent8807ab192b36acbc94e11790e9261c799ce77892 (diff)
downloaddimension-72daebf48e4a27de9f6633b2693ab96fb4ef1e44.tar.xz
map: Use pool.
Diffstat (limited to 'libdimension-python/dimension.pyx')
-rw-r--r--libdimension-python/dimension.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension-python/dimension.pyx b/libdimension-python/dimension.pyx
index 534781c..5e02aff 100644
--- a/libdimension-python/dimension.pyx
+++ b/libdimension-python/dimension.pyx
@@ -851,7 +851,7 @@ cdef class PigmentMap(Pigment):
sRGB -- whether the gradients should be in sRGB or linear space
(default True)
"""
- cdef dmnsn_map *pigment_map = dmnsn_new_pigment_map()
+ cdef dmnsn_map *pigment_map = dmnsn_new_pigment_map(_get_pool())
cdef dmnsn_pigment *real_pigment
if hasattr(map, "items"):
for i, pigment in map.items():