Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-12-11 06:51:43 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-12-11 07:32:14 +0300
commitff6d7e907269c3e090d4234df6eb7e812c809050 (patch)
tree20b4b07e39bd9cfcf2d788137e574d8d6391ffdd
parenta4a42f3171c021f2f7eb28e1ed10873b3314587b (diff)
Cleanup: spelling, expand on FCurve.rna_path docstring
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_intern.h2
-rw-r--r--source/blender/makesdna/DNA_anim_types.h8
-rw-r--r--source/blender/modifiers/intern/MOD_screw.c4
3 files changed, 9 insertions, 5 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h
index 3b48207f461..e0d413bc75f 100644
--- a/source/blender/editors/sculpt_paint/sculpt_intern.h
+++ b/source/blender/editors/sculpt_paint/sculpt_intern.h
@@ -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;
diff --git a/source/blender/makesdna/DNA_anim_types.h b/source/blender/makesdna/DNA_anim_types.h
index 17d41985f80..bfc72fdd45c 100644
--- a/source/blender/makesdna/DNA_anim_types.h
+++ b/source/blender/makesdna/DNA_anim_types.h
@@ -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) */
diff --git a/source/blender/modifiers/intern/MOD_screw.c b/source/blender/modifiers/intern/MOD_screw.c
index 94d5c402abe..ba370b401f3 100644
--- a/source/blender/modifiers/intern/MOD_screw.c
+++ b/source/blender/modifiers/intern/MOD_screw.c
@@ -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;