diff options
Diffstat (limited to 'libdimension-python')
-rw-r--r-- | libdimension-python/dimension.pxd | 2 | ||||
-rw-r--r-- | libdimension-python/dimension.pyx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libdimension-python/dimension.pxd b/libdimension-python/dimension.pxd index 0d862ae..d3c0c9e 100644 --- a/libdimension-python/dimension.pxd +++ b/libdimension-python/dimension.pxd @@ -414,7 +414,7 @@ cdef extern from "../libdimension/dimension.h": dmnsn_timer bounding_timer dmnsn_timer render_timer - dmnsn_scene *dmnsn_new_scene() + dmnsn_scene *dmnsn_new_scene(dmnsn_pool *pool) void dmnsn_delete_scene(dmnsn_scene *scene) void dmnsn_ray_trace(dmnsn_scene *scene) diff --git a/libdimension-python/dimension.pyx b/libdimension-python/dimension.pyx index 24ec4bd..c84d21a 100644 --- a/libdimension-python/dimension.pyx +++ b/libdimension-python/dimension.pyx @@ -1511,7 +1511,7 @@ cdef class Scene: lights -- the list of lights in the scene camera -- the camera for the scene """ - self._scene = dmnsn_new_scene() + self._scene = dmnsn_new_scene(_get_pool()) self._scene.canvas = canvas._canvas DMNSN_INCREF(self._scene.canvas) |