diff --git a/src/SceneGraph/Drawable.h b/src/SceneGraph/Drawable.h index 36ee9fa75..bb20a3960 100644 --- a/src/SceneGraph/Drawable.h +++ b/src/SceneGraph/Drawable.h @@ -114,8 +114,15 @@ template #endif class Drawable: public AbstractGroupedFeature, T> { public: - /** @copydoc AbstractGroupedFeature::AbstractGroupedFeature() */ - inline explicit Drawable(AbstractObject* object, DrawableGroup* group = nullptr): AbstractGroupedFeature, T>(object, group) {} + /** + * @brief Constructor + * @param object %Object this drawable belongs to + * @param drawables Group this drawable belongs to + * + * Adds the feature to the object and also to the group, if specified. + * Otherwise you can use DrawableGroup::add(). + */ + inline explicit Drawable(AbstractObject* object, DrawableGroup* drawables = nullptr): AbstractGroupedFeature, T>(object, drawables) {} /** * @brief Draw the object using given camera