diff options
author | Joshua Leung <aligorith@gmail.com> | 2016-03-27 08:25:26 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2016-03-27 17:21:27 +0300 |
commit | 71107208ddb2d70cc69d65f03088a8fa348ab030 (patch) | |
tree | 0e3c5b649c2cdeb155b33e45622b8a9a44d7f0a3 /source/blender/editors/interface | |
parent | 9adf4cba7d978dcf84cfcdabdbbe7ad0ad19263b (diff) |
More tooltip tweaks
The "UI_OT_eyedropper_id" operator only actually works in the 3D view,
so change the tooltip to match that
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/interface_eyedropper.c | 3 |
1 files changed, 1 insertions, 2 deletions
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; |