Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/object')
-rw-r--r--source/blender/editors/object/object_edit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/object/object_edit.c b/source/blender/editors/object/object_edit.c
index 67c9f6e98da..9940ad896b1 100644
--- a/source/blender/editors/object/object_edit.c
+++ b/source/blender/editors/object/object_edit.c
@@ -1314,11 +1314,11 @@ void OBJECT_OT_paths_update(wmOperatorType *ot)
/* --------- */
-/* Clear motion paths for selected objects only */
+/* Clear motion paths for all objects */
void ED_objects_clear_paths(bContext *C)
{
- /* loop over objects in scene */
- CTX_DATA_BEGIN(C, Object *, ob, selected_editable_objects)
+ /* loop over all edtiable objects in scene */
+ CTX_DATA_BEGIN(C, Object *, ob, editable_objects)
{
if (ob->mpath) {
animviz_free_motionpath(ob->mpath);
@@ -1346,7 +1346,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 selected objects";
+ ot->description = "Clear path caches for all objects";
/* api callbacks */
ot->exec = object_clear_paths_exec;