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_fcurve.c | |
parent | 66c3a7c5502815af082feee73165d144bee78fb1 (diff) |
Cleanup: comments (long lines) in makesrna
Diffstat (limited to 'source/blender/makesrna/intern/rna_fcurve.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_fcurve.c | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/source/blender/makesrna/intern/rna_fcurve.c b/source/blender/makesrna/intern/rna_fcurve.c index 1e1883a4a39..c8df01a7dc7 100644 --- a/source/blender/makesrna/intern/rna_fcurve.c +++ b/source/blender/makesrna/intern/rna_fcurve.c @@ -310,7 +310,8 @@ static void rna_DriverTarget_RnaPath_set(PointerRNA *ptr, const char *value) { DriverTarget *dtar = (DriverTarget *)ptr->data; - /* XXX in this case we need to be very careful, as this will require some new dependencies to be added! */ + /* XXX in this case we need to be very careful, + * as this will require some new dependencies to be added! */ if (dtar->rna_path) MEM_freeN(dtar->rna_path); @@ -466,7 +467,8 @@ static void rna_FCurve_group_set(PointerRNA *ptr, PointerRNA value) } if (GS(pid->name) == ID_AC && GS(vid->name) == ID_AC) { - /* the ID given is the action already - usually when F-Curve is obtained from an action's pointer */ + /* The ID given is the action already - + * usually when F-Curve is obtained from an action's pointer. */ act = (bAction *)pid; } else { @@ -506,7 +508,8 @@ static void rna_FCurve_group_set(PointerRNA *ptr, PointerRNA value) action_groups_add_channel(act, value.data, fcu); } else { - /* need to add this back, but it can only go at the end of the list (or else will corrupt groups) */ + /* Need to add this back, but it can only go at the end of the list + * (or else will corrupt groups). */ BLI_addtail(&act->curves, fcu); } } @@ -538,8 +541,8 @@ static void rna_FCurve_update_data_relations(Main *bmain, DEG_relations_tag_update(bmain); } -/* RNA update callback for F-Curves to indicate that there are copy-on-write tagging/flushing needed - * (e.g. for properties that affect how animation gets evaluated) +/* RNA update callback for F-Curves to indicate that there are copy-on-write tagging/flushing + * needed (e.g. for properties that affect how animation gets evaluated). */ static void rna_FCurve_update_eval(Main *UNUSED(bmain), Scene *UNUSED(scene), PointerRNA *ptr) { @@ -792,7 +795,8 @@ static void rna_FModifierLimits_minx_range(PointerRNA *UNUSED(ptr), // FModifier *fcm = (FModifier *)ptr->data; // FMod_Limits *data = fcm->data; - /* no soft-limits on lower bound - it's too confusing when you can't easily use the slider to set things here */ + /* No soft-limits on lower bound - + * it's too confusing when you can't easily use the slider to set things here. */ *min = MINAFRAMEF; *max = MAXFRAMEF; } @@ -819,7 +823,8 @@ static void rna_FModifierLimits_miny_range(PointerRNA *UNUSED(ptr), // FModifier *fcm = (FModifier *)ptr->data; // FMod_Limits *data = fcm->data; - /* no soft-limits on lower bound - it's too confusing when you can't easily use the slider to set things here */ + /* No soft-limits on lower bound - + * it's too confusing when you can't easily use the slider to set things here. */ *min = -FLT_MAX; *max = FLT_MAX; } |