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.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():