Cleanup: Remove redundant doxygen section
Also remove const for the object argument, since the object data is logically modified by generating the data.
This commit is contained in:
parent
9830603620
commit
96764c3a1f
|
@ -156,11 +156,15 @@ struct GPUBatch *DRW_lattice_batch_cache_get_edit_verts(struct Lattice *lt);
|
|||
/** \} */
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
/** \name Hair
|
||||
/** \name Curves
|
||||
* \{ */
|
||||
|
||||
int DRW_curves_material_count_get(struct Curves *curves);
|
||||
|
||||
struct GPUBatch *DRW_curves_batch_cache_get_edit_points(struct Curves *curves);
|
||||
|
||||
void DRW_curves_batch_cache_create_requested(struct Object *ob);
|
||||
|
||||
/** \} */
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
|
@ -352,16 +356,6 @@ struct GPUBatch *DRW_particles_batch_cache_get_edit_tip_points(struct Object *ob
|
|||
|
||||
/** \} */
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
/** \name Curves
|
||||
* \{ */
|
||||
|
||||
struct GPUBatch *DRW_curves_batch_cache_get_edit_points(struct Curves *curves);
|
||||
|
||||
void DRW_curves_batch_cache_create_requested(const struct Object *ob);
|
||||
|
||||
/** \} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -638,7 +638,7 @@ GPUBatch *DRW_curves_batch_cache_get_edit_points(Curves *curves)
|
|||
return DRW_batch_request(&cache.edit_points);
|
||||
}
|
||||
|
||||
void DRW_curves_batch_cache_create_requested(const Object *ob)
|
||||
void DRW_curves_batch_cache_create_requested(Object *ob)
|
||||
{
|
||||
Curves *curves = static_cast<Curves *>(ob->data);
|
||||
CurvesBatchCache &cache = curves_batch_cache_get(*curves);
|
||||
|
|
Loading…
Reference in New Issue