diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-21 06:44:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-21 07:27:35 +0300 |
commit | 93c19a5a2cf58b75aa3072ce79de5e5d571f3d55 (patch) | |
tree | 832c780931025206ac043340e9b39af6d804e425 /source/blender/makesrna | |
parent | 9d72efe108cb5819d07e524f311f613d002d3b61 (diff) |
Cleanup: comments (mainly long lines)
Comments after code can cause awkward line breaks.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_internal_types.h | 4 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_modifier.c | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_internal_types.h b/source/blender/makesrna/intern/rna_internal_types.h index 93409a7d008..b0ead024748 100644 --- a/source/blender/makesrna/intern/rna_internal_types.h +++ b/source/blender/makesrna/intern/rna_internal_types.h @@ -431,8 +431,8 @@ typedef struct PointerPropertyRNA { PropPointerGetFunc get; PropPointerSetFunc set; PropPointerTypeFunc typef; - PropPointerPollFunc - poll; /* unlike operators, 'set' can still run if poll fails, used for filtering display */ + /** unlike operators, 'set' can still run if poll fails, used for filtering display. */ + PropPointerPollFunc poll; struct StructRNA *type; } PointerPropertyRNA; diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c index 1a986da1a94..204f2b051ed 100644 --- a/source/blender/makesrna/intern/rna_modifier.c +++ b/source/blender/makesrna/intern/rna_modifier.c @@ -5250,7 +5250,9 @@ static void rna_def_modifier_datatransfer(BlenderRNA *brna) # if 0 /* TODO */ {DT_TYPE_SHAPEKEY, "SHAPEKEYS", 0, "Shapekey(s)", "Transfer active or all shape keys"}, # endif -# if 0 /* XXX When SkinModifier is enabled, it seems to erase its own CD_MVERT_SKIN layer from final DM :( */ + /* XXX When SkinModifier is enabled, + * it seems to erase its own CD_MVERT_SKIN layer from final DM :( */ +# if 0 {DT_TYPE_SKIN, "SKIN", 0, "Skin Weight", "Transfer skin weights"}, # endif {DT_TYPE_BWEIGHT_VERT, "BEVEL_WEIGHT_VERT", 0, "Bevel Weight", "Transfer bevel weights"}, |