[Bf-blender-cvs] [549f68149d8] master: UI: Fix typo in UI description for bpy.types.ActionFCurves.remove function

Colin Basnett noreply at git.blender.org
Tue Apr 19 02:11:54 CEST 2022


Commit: 549f68149d8d5a90067d3488ebffb522ff6c3d8c
Author: Colin Basnett
Date:   Mon Apr 18 20:10:56 2022 -0400
Branches: master
https://developer.blender.org/rB549f68149d8d5a90067d3488ebffb522ff6c3d8c

UI: Fix typo in UI description for bpy.types.ActionFCurves.remove function

The UI description for the `bpy.types.ActionFCurves.remove` was incorrect;
seemingly a copy-paste typo from the `rna_Action_groups_remove` function.

Reviewed By: sybren, Blendify

Differential Revision: https://developer.blender.org/D14659

===================================================================

M	source/blender/makesrna/intern/rna_action.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_action.c b/source/blender/makesrna/intern/rna_action.c
index 11d5298dfd7..76d2087d904 100644
--- a/source/blender/makesrna/intern/rna_action.c
+++ b/source/blender/makesrna/intern/rna_action.c
@@ -783,7 +783,7 @@ static void rna_def_action_fcurves(BlenderRNA *brna, PropertyRNA *cprop)
 
   /* Action.fcurves.remove(...) */
   func = RNA_def_function(srna, "remove", "rna_Action_fcurve_remove");
-  RNA_def_function_ui_description(func, "Remove action group");
+  RNA_def_function_ui_description(func, "Remove F-Curve");
   RNA_def_function_flag(func, FUNC_USE_REPORTS);
   parm = RNA_def_pointer(func, "fcurve", "FCurve", "", "F-Curve to remove");
   RNA_def_parameter_flags(parm, PROP_NEVER_NULL, PARM_REQUIRED | PARM_RNAPTR);



More information about the Bf-blender-cvs mailing list