[Bf-blender-cvs] [7110720] master: More tooltip tweaks

Joshua Leung noreply at git.blender.org
Sun Mar 27 16:22:49 CEST 2016


Commit: 71107208ddb2d70cc69d65f03088a8fa348ab030
Author: Joshua Leung
Date:   Sun Mar 27 18:25:26 2016 +1300
Branches: master
https://developer.blender.org/rB71107208ddb2d70cc69d65f03088a8fa348ab030

More tooltip tweaks

The "UI_OT_eyedropper_id" operator only actually works in the 3D view,
so change the tooltip to match that

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

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

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

diff --git a/source/blender/editors/interface/interface_eyedropper.c b/source/blender/editors/interface/interface_eyedropper.c
index b17a6af..93d70a5 100644
--- a/source/blender/editors/interface/interface_eyedropper.c
+++ b/source/blender/editors/interface/interface_eyedropper.c
@@ -569,7 +569,6 @@ static void datadropper_exit(bContext *C, wmOperator *op)
  */
 static void datadropper_id_sample_pt(bContext *C, DataDropper *ddr, int mx, int my, ID **r_id)
 {
-
 	/* we could use some clever */
 	wmWindow *win = CTX_wm_window(C);
 	ScrArea *sa = BKE_screen_find_area_xy(win->screen, -1, mx, my);
@@ -737,7 +736,7 @@ void UI_OT_eyedropper_id(wmOperatorType *ot)
 	/* identifiers */
 	ot->name = "Eyedropper Datablock";
 	ot->idname = "UI_OT_eyedropper_id";
-	ot->description = "Sample a datablock from the Blender Window to store in a property";
+	ot->description = "Sample a datablock from the 3D View to store in a property";
 
 	/* api callbacks */
 	ot->invoke = datadropper_invoke;




More information about the Bf-blender-cvs mailing list