diff options
author | Hans Goudey <h.goudey@me.com> | 2020-10-19 04:44:49 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-10-19 04:44:49 +0300 |
commit | dd9e2cd6fa58d92e2cdc5d988b581063cd226717 (patch) | |
tree | 44e82b1ed81776431d0057105854341e60f59b8b /source/blender/editors/space_nla | |
parent | a5ad2d7f75d1a59abe6a002860f4103252f64525 (diff) |
Review feedback from Julian
Diffstat (limited to 'source/blender/editors/space_nla')
-rw-r--r-- | source/blender/editors/space_nla/nla_buttons.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/editors/space_nla/nla_buttons.c b/source/blender/editors/space_nla/nla_buttons.c index 9e58fcd471b..dcdc36141df 100644 --- a/source/blender/editors/space_nla/nla_buttons.c +++ b/source/blender/editors/space_nla/nla_buttons.c @@ -555,7 +555,7 @@ static void nla_fmodifier_panel_id(void *fcm_link, char *r_name) eFModifier_Types type = fcm->type; snprintf(r_name, BKE_ST_MAXNAME, "%s_PT_", NLA_FMODIFIER_PANEL_PREFIX); const FModifierTypeInfo *fmi = get_fmodifier_typeinfo(type); - strcat(r_name, fmi->name); + BLI_snprintf(r_name, BKE_ST_MAXNAME, "%s_PT_%s", NLA_FMODIFIER_PANEL_PREFIX, fmi->name); } /* F-Modifiers for active NLA-Strip */ @@ -678,10 +678,10 @@ void nla_buttons_register(ARegionType *art) BLI_addtail(&art->paneltypes, pt); const char *modifier_panel_prefix = NLA_FMODIFIER_PANEL_PREFIX; - ANIM_fcm_generator_panel_register(art, modifier_panel_prefix, nla_strip_eval_panel_poll); - ANIM_fcm_fn_generator_panel_register(art, modifier_panel_prefix, nla_strip_eval_panel_poll); - ANIM_fcm_noise_panel_register(art, modifier_panel_prefix, nla_strip_eval_panel_poll); - ANIM_fcm_envelope_panel_register(art, modifier_panel_prefix, nla_strip_eval_panel_poll); - ANIM_fcm_limits_panel_register(art, modifier_panel_prefix, nla_strip_eval_panel_poll); - ANIM_fcm_stepped_panel_register(art, modifier_panel_prefix, nla_strip_eval_panel_poll); + ANIM_fmodifiers_generator_panel_register(art, modifier_panel_prefix, nla_strip_eval_panel_poll); + ANIM_fmodifiers_generator_panel_register(art, modifier_panel_prefix, nla_strip_eval_panel_poll); + ANIM_fmodifiers_noise_panel_register(art, modifier_panel_prefix, nla_strip_eval_panel_poll); + ANIM_fmodifiers_envelope_panel_register(art, modifier_panel_prefix, nla_strip_eval_panel_poll); + ANIM_fmodifers_limits_panel_register(art, modifier_panel_prefix, nla_strip_eval_panel_poll); + ANIM_fmodifiers_stepped_panel_register(art, modifier_panel_prefix, nla_strip_eval_panel_poll); } |