Update codegen and make use of the new parenting method

This commit is contained in:
Alexander Bock
2022-02-23 13:20:36 +01:00
parent 78fd5b78da
commit 7cb38b6c9c
16 changed files with 46 additions and 197 deletions

View File

@@ -60,20 +60,10 @@ namespace {
namespace openspace {
documentation::Documentation RenderablePlaneImageLocal::Documentation() {
documentation::Documentation doc = codegen::doc<Parameters>(
"base_renderable_plane_image_local"
return codegen::doc<Parameters>(
"base_renderable_plane_image_local",
RenderablePlane::Documentation()
);
// @TODO cleanup
// Insert the parents documentation entries until we have a verifier that can deal
// with class hierarchy
documentation::Documentation parentDoc = RenderablePlane::Documentation();
doc.entries.insert(
doc.entries.end(),
parentDoc.entries.begin(),
parentDoc.entries.end()
);
return doc;
}
RenderablePlaneImageLocal::RenderablePlaneImageLocal(const ghoul::Dictionary& dictionary)