Cleanup: spelling, expand on FCurve.rna_path docstring

This commit is contained in:
Campbell Barton 2020-12-11 14:51:43 +11:00
parent a4a42f3171
commit ff6d7e9072
3 changed files with 9 additions and 5 deletions

View File

@ -452,7 +452,7 @@ BLI_INLINE bool SCULPT_tool_needs_all_pbvh_nodes(const Brush *brush)
if (brush->sculpt_tool == SCULPT_TOOL_BOUNDARY) {
/* Boundary needs all nodes because it is not possible to know where the boundary
* deformation is going to be propagated before calculating it. */
/* TODO: after calculating the boudnary info in the first iteration, it should be
/* TODO: after calculating the boundary info in the first iteration, it should be
* possible to get the nodes that have vertices included in any boundary deformation
* and cache them. */
return true;

View File

@ -612,9 +612,13 @@ typedef struct FCurve {
char _pad[3];
/* RNA - data link */
/** If applicable, the index of the RNA-array item to get. */
/** When the RNA property from `rna_path` is an array, use this to access the array index. */
int array_index;
/** RNA-path to resolve data-access. */
/**
* RNA-path to resolve data-access, see: #RNA_path_resolve_property.
*
* \note String look-ups for collection and custom-properties are escaped using #BLI_str_escape.
*/
char *rna_path;
/* curve coloring (for editor) */

View File

@ -701,8 +701,8 @@ static Mesh *modifyMesh(ModifierData *md, const ModifierEvalContext *ctx, Mesh *
/*printf("flip direction %i\n", ed_loop_flip);*/
/* switch the flip option if set
* note: flip is now done at face level so copying vgroup slizes is easier */
/* Switch the flip option if set
* NOTE: flip is now done at face level so copying group slices is easier. */
#if 0
if (do_flip) {
ed_loop_flip = !ed_loop_flip;