Adapt to changes in codegen that require specifying the identifier in the codegen::doc function

This commit is contained in:
Alexander Bock
2021-05-25 23:10:12 +02:00
parent cb17bd7570
commit 63cbf270ee
116 changed files with 138 additions and 345 deletions
@@ -46,9 +46,7 @@ namespace {
namespace openspace {
documentation::Documentation CameraLightSource::Documentation() {
documentation::Documentation doc = codegen::doc<Parameters>();
doc.id = "base_camera_light_source";
return doc;
return codegen::doc<Parameters>("base_camera_light_source");
}
CameraLightSource::CameraLightSource()
@@ -59,9 +59,7 @@ namespace {
namespace openspace {
documentation::Documentation SceneGraphLightSource::Documentation() {
documentation::Documentation doc = codegen::doc<Parameters>();
doc.id = "base_scene_graph_light_source";
return doc;
return codegen::doc<Parameters>("base_scene_graph_light_source");
}
SceneGraphLightSource::SceneGraphLightSource()