[Bf-blender-cvs] [0926495de40] master: UI: Tooltip Edit - Copy to selected button

Aaron Carlisle noreply at git.blender.org
Thu Jun 9 05:26:30 CEST 2022


Commit: 0926495de40d45a02ee7a4ffeff9e2cac5436e4c
Author: Aaron Carlisle
Date:   Wed Jun 8 23:26:15 2022 -0400
Branches: master
https://developer.blender.org/rB0926495de40d45a02ee7a4ffeff9e2cac5436e4c

UI: Tooltip Edit - Copy to selected button

This commit changes the tool tip for the "Copy To Selected Button" operator.
The exiting tool tip for this operator suggests that it will "copy property to selected objects or bones".

However, it will only copies the property value to the selected objects or bones if the property already exists on the selected items.
It does not copy the property.

Differential Revision: https://developer.blender.org/D14528

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

M	source/blender/editors/interface/interface_ops.c

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

diff --git a/source/blender/editors/interface/interface_ops.c b/source/blender/editors/interface/interface_ops.c
index c066ced21cb..60a68e270bf 100644
--- a/source/blender/editors/interface/interface_ops.c
+++ b/source/blender/editors/interface/interface_ops.c
@@ -1167,7 +1167,9 @@ static void UI_OT_copy_to_selected_button(wmOperatorType *ot)
   /* identifiers */
   ot->name = "Copy to Selected";
   ot->idname = "UI_OT_copy_to_selected_button";
-  ot->description = "Copy property from this object to selected objects or bones";
+  ot->description =
+      "Copy the property's value from the active item to the same property of all selected items "
+      "if the same property exists";
 
   /* callbacks */
   ot->poll = copy_to_selected_button_poll;



More information about the Bf-blender-cvs mailing list