Cleanup: warnings from descriptions ending with a full-stop

This commit is contained in:
Campbell Barton 2023-01-03 10:25:38 +11:00
parent 0e5dab0831
commit 9a18a9bfce
1 changed files with 8 additions and 7 deletions

View File

@ -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");