[Bf-blender-cvs] [9a18a9bfce4] master: Cleanup: warnings from descriptions ending with a full-stop

Campbell Barton noreply at git.blender.org
Tue Jan 3 01:40:26 CET 2023


Commit: 9a18a9bfce4eb9a6cfd0d3172f7931b31f0d9414
Author: Campbell Barton
Date:   Tue Jan 3 10:25:38 2023 +1100
Branches: master
https://developer.blender.org/rB9a18a9bfce4eb9a6cfd0d3172f7931b31f0d9414

Cleanup: warnings from descriptions ending with a full-stop

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

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

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

diff --git a/source/blender/makesrna/intern/rna_pose_api.c b/source/blender/makesrna/intern/rna_pose_api.c
index 64d044717ce..6a79bd9bad3 100644
--- a/source/blender/makesrna/intern/rna_pose_api.c
+++ b/source/blender/makesrna/intern/rna_pose_api.c
@@ -216,28 +216,29 @@ void RNA_api_pose(StructRNA *srna)
       func,
       "Create a backup of the current pose. Only those bones that are animated in the Action are "
       "backed up. The object owns the backup, and each object can have only one backup at a time. "
-      "When you no longer need it, it must be freed use `backup_clear()`.");
+      "When you no longer need it, it must be freed use `backup_clear()`");
   RNA_def_function_flag(func, FUNC_USE_SELF_ID | FUNC_NO_SELF);
   parm = RNA_def_pointer(func,
                          "action",
                          "Action",
                          "Action",
-                         "An Action with animation data for the bones. Only the animated bones "
-                         "will be included in the backup.");
+                         "An Action with animation data for the bones. "
+                         "Only the animated bones will be included in the backup");
   RNA_def_parameter_flags(parm, 0, PARM_REQUIRED);
 
   func = RNA_def_function(srna, "backup_restore", "rna_Pose_backup_restore");
   RNA_def_function_flag(func, FUNC_USE_SELF_ID | FUNC_NO_SELF | FUNC_USE_CONTEXT);
-  RNA_def_function_ui_description(func,
-                                  "Restore the previously made pose backup. This can be called "
-                                  "multiple times. See `Pose.backup_create()` for more info.");
+  RNA_def_function_ui_description(
+      func,
+      "Restore the previously made pose backup. "
+      "This can be called multiple times. See `Pose.backup_create()` for more info");
   /* return value */
   parm = RNA_def_boolean(
       func,
       "success",
       false,
       "",
-      "`True` when the backup was restored, `False` if there was no backup to restore.");
+      "`True` when the backup was restored, `False` if there was no backup to restore");
   RNA_def_function_return(func, parm);
 
   func = RNA_def_function(srna, "backup_clear", "rna_Pose_backup_clear");



More information about the Bf-blender-cvs mailing list