star-uvm

Spatial structuring of unstructured volumetric meshes
git clone git://git.meso-star.fr/star-uvm.git
Log | Files | Refs | README | LICENSE

commit 1ec55162a3e031295acda8a4f2281d335563eead
parent 173637baf705e55359d6a3e1bdfa654883b08de4
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Tue, 29 Sep 2020 15:45:45 +0200

Fix an issue on leaf node creation

Diffstat:
Msrc/suvm_volume.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/suvm_volume.c b/src/suvm_volume.c @@ -314,7 +314,7 @@ rtc_node_leaf_create leaf->geom_id = prim->geomID; leaf->prim_id = prim->primID; leaf->node.type = NODE_LEAF; - return leaf; + return &leaf->node; } static res_T