From e4e17cf1dfc036ab3061afd8ed18cded28b0fd01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 22 Dec 2022 12:08:56 +0100 Subject: [PATCH] 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". --- source/blender/editors/armature/pose_edit.c | 9 ++++++--- source/blender/editors/object/object_edit.c | 9 ++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/source/blender/editors/armature/pose_edit.c b/source/blender/editors/armature/pose_edit.c index 14cd731f142..e11558722af 100644 --- a/source/blender/editors/armature/pose_edit.c +++ b/source/blender/editors/armature/pose_edit.c @@ -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); } diff --git a/source/blender/editors/object/object_edit.c b/source/blender/editors/object/object_edit.c index bc4e5668b42..86ea1d3be43 100644 --- a/source/blender/editors/object/object_edit.c +++ b/source/blender/editors/object/object_edit.c @@ -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); }