solstice-solver

Solver library of the solstice app
git clone git://git.meso-star.com/solstice-solver.git
Log | Files | Refs | README | LICENSE

commit 90537ede1cb0df4e13cbae9b5f6cae9669168a45
parent 26448d429ba04670b617bde8f27f1af5ff97a8b8
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Mon, 10 Oct 2016 09:40:23 +0200

Fix the registration of a shaded shape against an object

The sampling S3D shape was registered with the RT S3D shape identifier.

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

diff --git a/src/ssol_object.c b/src/ssol_object.c @@ -126,10 +126,10 @@ ssol_object_add_shaded_shape } S3D(shape_get_id(shape->shape_rt, &id_rt)); - S3D(shape_get_id(shape->shape_rt, &id_samp)); + S3D(shape_get_id(shape->shape_samp, &id_samp)); if(htable_shaded_shape_find(&object->shaded_shapes_rt, &id_rt)) { log_warning - (object->dev, "%s: the already already own the shape.\n", FUNC_NAME); + (object->dev, "%s: the object already own the shape.\n", FUNC_NAME); goto exit; }