mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-22 11:18:22 -05:00
Update codegen and make use of the new parenting method
This commit is contained in:
@@ -136,20 +136,10 @@ namespace {
|
||||
namespace openspace {
|
||||
|
||||
documentation::Documentation RenderableTrailOrbit::Documentation() {
|
||||
documentation::Documentation doc = codegen::doc<Parameters>(
|
||||
"base_renderable_renderabletrailorbit"
|
||||
return codegen::doc<Parameters>(
|
||||
"base_renderable_renderabletrailorbit",
|
||||
RenderableTrail::Documentation()
|
||||
);
|
||||
|
||||
// Insert the parents documentation entries until we have a verifier that can deal
|
||||
// with class hierarchy
|
||||
documentation::Documentation parentDoc = RenderableTrail::Documentation();
|
||||
doc.entries.insert(
|
||||
doc.entries.end(),
|
||||
parentDoc.entries.begin(),
|
||||
parentDoc.entries.end()
|
||||
);
|
||||
|
||||
return doc;
|
||||
}
|
||||
|
||||
RenderableTrailOrbit::RenderableTrailOrbit(const ghoul::Dictionary& dictionary)
|
||||
|
||||
Reference in New Issue
Block a user