star-cad

Geometric operators for computer-aided design
git clone git://git.meso-star.fr/star-cad.git
Log | Files | Refs | README | LICENSE

commit 0f2a42110df320b6ce7c51d346283c0ae9aa49a5
parent 45e1ba81fff54ccf79e28fc812a8aeb74c4b6d6e
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Fri,  2 Sep 2022 17:35:08 +0200

Add a comment in a tricky code

Diffstat:
Msrc/scad_device.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/scad_device.c b/src/scad_device.c @@ -37,6 +37,8 @@ device_release(struct scad_device* dev) ASSERT(dev); + /* Duplicate the htable we iterate on as dev->allgeom will be altered during + * the process (through calls to geometry_release) */ htable_geometries_init(dev->allocator, &tmp); CHK(RES_OK == htable_geometries_copy(&tmp, &dev->allgeom)); htable_geometries_begin(&tmp, &it);