mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-03 17:30:04 -05:00
Adapt to changes in codegen that require specifying the identifier in the codegen::doc function
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user