diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-21 19:48:05 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-21 23:30:08 +0300 |
commit | 024d40b504e4dc2a23824021bdcfe772a1f5f670 (patch) | |
tree | 617778f8e70e0c39300ae8f27c30ca1d05124c18 /source/blender/makesrna/intern/rna_key.c | |
parent | 66c3a7c5502815af082feee73165d144bee78fb1 (diff) |
Cleanup: comments (long lines) in makesrna
Diffstat (limited to 'source/blender/makesrna/intern/rna_key.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_key.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/source/blender/makesrna/intern/rna_key.c b/source/blender/makesrna/intern/rna_key.c index b0760b3377d..1985099e060 100644 --- a/source/blender/makesrna/intern/rna_key.c +++ b/source/blender/makesrna/intern/rna_key.c @@ -167,8 +167,9 @@ static void rna_ShapeKey_slider_max_set(PointerRNA *ptr, float value) # undef SHAPEKEY_SLIDER_TOL /* ***** Normals accessors for shapekeys. ***** */ -/* Note: with this we may recompute several times the same data, should we want to access verts, then polys, then loops - * normals... However, such case looks rather unlikely - and not worth adding some kind of caching in KeyBlocks. +/* Note: with this we may recompute several times the same data, should we want to access verts, + * then polys, then loops normals... However, + * such case looks rather unlikely - and not worth adding some kind of caching in KeyBlocks. */ static Mesh *rna_KeyBlock_normals_get_mesh(PointerRNA *ptr, ID *id) @@ -722,7 +723,8 @@ static KeyBlock *rna_ShapeKeyData_find_keyblock(Key *key, float *point) */ end = (float *)((char *)start + (key->elemsize * kb->totelem)); - /* if point's address is less than the end, then it is somewhere between start and end, so in array */ + /* If point's address is less than the end, + * then it is somewhere between start and end, so in array. */ if (end > point) { /* we've found the owner of the point data */ return kb; @@ -964,8 +966,8 @@ static void rna_def_keyblock(BlenderRNA *brna) NULL, NULL); - /* XXX multi-dim dynamic arrays are very badly supported by (py)rna currently, those are defined for the day - * it works better, for now user will get a 1D tuple... + /* XXX multi-dim dynamic arrays are very badly supported by (py)rna currently, + * those are defined for the day it works better, for now user will get a 1D tuple. */ func = RNA_def_function(srna, "normals_vertex_get", "rna_KeyBlock_normals_vert_calc"); RNA_def_function_ui_description(func, |