From 71107208ddb2d70cc69d65f03088a8fa348ab030 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Sun, 27 Mar 2016 18:25:26 +1300 Subject: More tooltip tweaks The "UI_OT_eyedropper_id" operator only actually works in the 3D view, so change the tooltip to match that --- source/blender/editors/interface/interface_eyedropper.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '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 b17a6af7d35..93d70a556b4 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; -- cgit v1.2.3