Cleanup: use colon after doxygen parameters, spelling
This commit is contained in:
parent
27e39cc533
commit
ab93e568eb
|
@ -663,7 +663,7 @@ static void id_swap(Main *bmain, ID *id_a, ID *id_b, const bool do_full_id)
|
|||
* Does a mere memory swap over the whole IDs data (including type-specific memory).
|
||||
* \note Most internal ID data itself is not swapped (only IDProperties are).
|
||||
*
|
||||
* \param bmain May be NULL, in which case there will be no remapping of internal pointers to
|
||||
* \param bmain: May be NULL, in which case there will be no remapping of internal pointers to
|
||||
* itself.
|
||||
*/
|
||||
void BKE_lib_id_swap(Main *bmain, ID *id_a, ID *id_b)
|
||||
|
@ -675,7 +675,7 @@ void BKE_lib_id_swap(Main *bmain, ID *id_a, ID *id_b)
|
|||
* Does a mere memory swap over the whole IDs data (including type-specific memory).
|
||||
* \note All internal ID data itself is also swapped.
|
||||
*
|
||||
* \param bmain May be NULL, in which case there will be no remapping of internal pointers to
|
||||
* \param bmain: May be NULL, in which case there will be no remapping of internal pointers to
|
||||
* itself.
|
||||
*/
|
||||
void BKE_lib_id_swap_full(Main *bmain, ID *id_a, ID *id_b)
|
||||
|
@ -1248,7 +1248,7 @@ ID *BKE_libblock_find_name(struct Main *bmain, const short type, const char *nam
|
|||
*
|
||||
* \note All other IDs beside given one are assumed already properly sorted in the list.
|
||||
*
|
||||
* \param id_sorting_hint Ignored if NULL. Otherwise, used to check if we can insert \a id
|
||||
* \param id_sorting_hint: Ignored if NULL. Otherwise, used to check if we can insert \a id
|
||||
* immediately before or after that pointer. It must always be into given \a lb list.
|
||||
*/
|
||||
void id_sort_by_name(ListBase *lb, ID *id, ID *id_sorting_hint)
|
||||
|
|
|
@ -997,10 +997,10 @@ static bool point_between_edges(float co[3], BMVert *v, BMFace *f, EdgeHalf *e1,
|
|||
* record the change in offset_l (or offset_r); later we can tell that a change has happened
|
||||
* because the offset will differ from its original value in offset_l_spec (or offset_r_spec).
|
||||
*
|
||||
* \param edges_between If this is true, there are edges between e1 and e2 in CCW order so they
|
||||
* \param edges_between: If this is true, there are edges between e1 and e2 in CCW order so they
|
||||
* don't share a common face. We want the meeting point to be on an existing face so it
|
||||
* should be dropped onto one of the intermediate faces, if possible.
|
||||
* \param e_in_plane If we need to drop from the calculated offset lines to one of the faces,
|
||||
* \param e_in_plane: If we need to drop from the calculated offset lines to one of the faces,
|
||||
* we don't want to drop onto the 'in plane' face, so if this is not null skip this edge's faces.
|
||||
*/
|
||||
static void offset_meet(EdgeHalf *e1,
|
||||
|
@ -2601,13 +2601,13 @@ static void adjust_miter_inner_coords(BevelParams *bp, BevVert *bv, EdgeHalf *em
|
|||
* to be a subsequent pass to make the widths as consistent as possible.
|
||||
* Doesn't make the actual BMVerts.
|
||||
*
|
||||
* For a width consistency pass, we just recalculate the coordinates of the BoundVerts. If the
|
||||
* For a width consistency pass, we just recalculate the coordinates of the #BoundVerts. If the
|
||||
* other ends have been (re)built already, then we copy the offsets from there to match, else we
|
||||
* use the ideal (user-specified) widths.
|
||||
*
|
||||
* \param construct The first time through, construct will be true and we are making the BoundVerts
|
||||
* and setting up the BoundVert and EdgeHalf pointers appropriately. Also, if construct, decide on
|
||||
* the mesh pattern that will be used inside the boundary.
|
||||
* \param construct: The first time through, construct will be true and we are making the
|
||||
* #BoundVerts and setting up the #BoundVert and #EdgeHalf pointers appropriately.
|
||||
* Also, if construct, decide on the mesh pattern that will be used inside the boundary.
|
||||
*/
|
||||
static void build_boundary(BevelParams *bp, BevVert *bv, bool construct)
|
||||
{
|
||||
|
|
|
@ -506,8 +506,7 @@ void DepsgraphNodeBuilder::build_collection(LayerCollection *from_layer_collecti
|
|||
}
|
||||
else if (from_layer_collection == nullptr && !id_node->is_collection_fully_expanded) {
|
||||
/* Initially collection was built from layer now, and was requested
|
||||
* to not recurs into object. But nw it's asked to recurs into all
|
||||
* objects. */
|
||||
* to not recurs into object. But now it's asked to recurs into all objects. */
|
||||
}
|
||||
else {
|
||||
return;
|
||||
|
|
|
@ -142,10 +142,11 @@ static void object_force_modifier_bind_simple_options(Depsgraph *depsgraph,
|
|||
md_eval->mode = mode;
|
||||
}
|
||||
|
||||
/** Add a modifier to given object, including relevant extra processing needed by some physics
|
||||
* types (particles, simulations...).
|
||||
/**
|
||||
* Add a modifier to given object, including relevant extra processing needed by some physics types
|
||||
* (particles, simulations...).
|
||||
*
|
||||
* \param scene is only used to set current frame in some cases, and may be NULL.
|
||||
* \param scene: is only used to set current frame in some cases, and may be NULL.
|
||||
*/
|
||||
ModifierData *ED_object_modifier_add(
|
||||
ReportList *reports, Main *bmain, Scene *scene, Object *ob, const char *name, int type)
|
||||
|
|
|
@ -559,10 +559,10 @@ void GPU_viewport_colorspace_set(GPUViewport *viewport,
|
|||
{
|
||||
/**
|
||||
* HACK(fclem): We copy the settings here to avoid use after free if an update frees the scene
|
||||
* and the viewport stays cached (see T75443). But this means the OCIO curvemapping caching
|
||||
* (which is based on CurveMap pointer address) cannot operate correctly and it will create
|
||||
* a different OCIO processor for each viewport. We try to only realloc the curvemap copy if
|
||||
* needed to avoid uneeded cache invalidation.
|
||||
* and the viewport stays cached (see T75443). But this means the OCIO curve-mapping caching
|
||||
* (which is based on #CurveMap pointer address) cannot operate correctly and it will create
|
||||
* a different OCIO processor for each viewport. We try to only reallocate the curve-map copy
|
||||
* if needed to avoid unneeded cache invalidation.
|
||||
*/
|
||||
if (view_settings->curve_mapping) {
|
||||
if (viewport->view_settings.curve_mapping) {
|
||||
|
|
|
@ -5674,10 +5674,10 @@ static char *rna_idp_path(PointerRNA *ptr,
|
|||
}
|
||||
|
||||
/**
|
||||
* Find the path from the structure referenced by the pointer to the IDProperty object.
|
||||
* Find the path from the structure referenced by the pointer to the #IDProperty object.
|
||||
*
|
||||
* \param ptr Reference to the object owning the custom property storage.
|
||||
* \param needle Custom property object to find.
|
||||
* \param ptr: Reference to the object owning the custom property storage.
|
||||
* \param needle: Custom property object to find.
|
||||
* \return Relative path or NULL.
|
||||
*/
|
||||
char *RNA_path_from_struct_to_idproperty(PointerRNA *ptr, IDProperty *needle)
|
||||
|
|
Loading…
Reference in New Issue