commit 8cadcc8ab4b0583f220e88d1fd89fd49889801db
parent 4a71cbe7bf7c95315956e24bae37a035be7f4158
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 5 May 2023 13:24:26 +0200
Merge branch 'release_0.9.2'
Diffstat:
5 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
@@ -97,6 +97,17 @@ informations on CMake.
## Release notes
+### Version 0.9.2
+
+- Update the `rnatm` library to version 0.0.1. This versions fixes several
+ bugs when different atmospheric components do not have the same volumetric
+ meshes.
+- Display an error message when parsing unknown arguments to the
+ `htrdr-planeto` command.
+- Fix `htrdr-planeto` man page: there was an error in the `csplit` command
+ provided as an example to extract octrees from the output of `htrdr-planeto`
+ when the -d option is used.
+
### Version 0.9.1
- Fix invalid read/write memory access when ray tracing the ground in
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
@@ -30,7 +30,7 @@ set(HTRDR_BUILD_DIR ${CMAKE_CURRENT_BINARY_DIR})
set(VERSION_MAJOR 0)
set(VERSION_MINOR 9)
-set(VERSION_PATCH 1)
+set(VERSION_PATCH 2)
set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
option(HTRDR_BUILD_ATMOSPHERE "Build the htrdr-atmosphere program" ON)
diff --git a/cmake/planeto/CMakeLists.txt b/cmake/planeto/CMakeLists.txt
@@ -28,7 +28,7 @@ project(htrdr-planeto)
# Check dependencies
################################################################################
find_package(RCMake 0.4 REQUIRED)
-find_package(RNATM 0.0 REQUIRED)
+find_package(RNATM 0.0.1 REQUIRED)
find_package(RNGRD 0.0 REQUIRED)
find_package(RSys 0.11 REQUIRED)
find_package(Star3D 0.8 REQUIRED)
diff --git a/doc/htrdr-planeto.1.scd.in b/doc/htrdr-planeto.1.scd.in
@@ -147,7 +147,7 @@ launcher such as *mpirun*(1) to distribute the rendering on several computers.
```
csplit -f octree -k output %^#\\ vtk% /^#\\ vtk/ \\
- {$(($(grep -ce "^#\\ vtk" output)-2))}
+ {$(($(grep -ce "^# vtk" output)-2))}
```
*-f*
diff --git a/src/planeto/htrdr_planeto_args.c b/src/planeto/htrdr_planeto_args.c
@@ -629,7 +629,7 @@ htrdr_planeto_args_init(struct htrdr_planeto_args* args, int argc, char** argv)
if(res != RES_OK && !args->octree_definition_hint) res = RES_BAD_ARG;
break;
case 'v': args->verbose = 1; break;
- default: res = RES_BAD_ARG; goto error;
+ default: res = RES_BAD_ARG; break;
}
if(res != RES_OK) {
if(optarg) {