Anim: change wording of Clear Motion Paths operator

Change the wording of `OBJECT_OT_paths_clear` and `POSE_OT_paths_clear`
tooltips, so that they mention "motion path" instead of "path cache".
This commit is contained in:
Sybren A. Stüvel
2022-12-22 12:08:56 +01:00
parent b617ddc004
commit e4e17cf1df
2 changed files with 12 additions and 6 deletions

View File

@@ -441,7 +441,7 @@ void POSE_OT_paths_clear(wmOperatorType *ot)
/* identifiers */
ot->name = "Clear Bone Paths";
ot->idname = "POSE_OT_paths_clear";
ot->description = "Clear path caches for all bones, hold Shift key for selected bones only";
ot->description = "Clear motion paths for all bones, hold Shift key for selected bones only";
/* api callbacks */
ot->invoke = pose_clear_paths_invoke;
@@ -452,8 +452,11 @@ void POSE_OT_paths_clear(wmOperatorType *ot)
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
/* properties */
ot->prop = RNA_def_boolean(
ot->srna, "only_selected", false, "Only Selected", "Only clear paths from selected bones");
ot->prop = RNA_def_boolean(ot->srna,
"only_selected",
false,
"Only Selected",
"Only clear motion paths of selected bones");
RNA_def_property_flag(ot->prop, PROP_SKIP_SAVE);
}

View File

@@ -1453,7 +1453,7 @@ void OBJECT_OT_paths_clear(wmOperatorType *ot)
/* identifiers */
ot->name = "Clear Object Paths";
ot->idname = "OBJECT_OT_paths_clear";
ot->description = "Clear path caches for all objects, hold Shift key for selected objects only";
ot->description = "Clear motion paths for all objects, hold Shift key for selected objects only";
/* api callbacks */
ot->invoke = object_clear_paths_invoke;
@@ -1464,8 +1464,11 @@ void OBJECT_OT_paths_clear(wmOperatorType *ot)
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
/* properties */
ot->prop = RNA_def_boolean(
ot->srna, "only_selected", false, "Only Selected", "Only clear paths from selected objects");
ot->prop = RNA_def_boolean(ot->srna,
"only_selected",
false,
"Only Selected",
"Only clear motion paths of selected objects");
RNA_def_property_flag(ot->prop, PROP_SKIP_SAVE);
}