htrdr

Solving radiative transfer in heterogeneous media
git clone git://git.meso-star.fr/htrdr.git
Log | Files | Refs | README | LICENSE

commit 13976f11828c842b09606925e7f625b4e02ec705
parent ba403dc6c1383ba8a123e08c06bf2ff640349b4d
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Mon, 31 Oct 2022 14:44:23 +0100

htrdr-planeto: fix camera setup

A camera was configured only if the output was *not* an image when we
need to do the exact opposite

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

diff --git a/src/planeto/htrdr_planeto.c b/src/planeto/htrdr_planeto.c @@ -343,7 +343,7 @@ setup_camera res_T res = RES_OK; ASSERT(cmd && args); - if(cmd->output_type == HTRDR_PLANETO_ARGS_OUTPUT_IMAGE) + if(cmd->output_type != HTRDR_PLANETO_ARGS_OUTPUT_IMAGE) goto exit; ASSERT(htrdr_args_camera_perspective_check(&args->cam_persp) == RES_OK);