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:
authorCampbell Barton <ideasman42@gmail.com>2015-01-14 00:01:40 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-01-14 00:46:55 +0300
commit3d503ea8d6fa8ff397565b90cb53a4e211aef847 (patch)
tree62968e6cbadb0d5a172d2e9a34bf76007d50b760 /source/blender/editors/interface/interface_ops.c
parent54fd3f36a047b4d394c935a0aa387ae8a7b6a8c5 (diff)
UI: Eyedropper for view-depth
Currently this is mainly useful for picking camera DOF depth. - EKey over a distance field prompts you to pick a depth from the camera. - WKey (Specials menu) to pick from the 3D view (when the active camera's selected).
Diffstat (limited to 'source/blender/editors/interface/interface_ops.c')
-rw-r--r--source/blender/editors/interface/interface_ops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/interface/interface_ops.c b/source/blender/editors/interface/interface_ops.c
index 0f430c4f254..074faaa86bc 100644
--- a/source/blender/editors/interface/interface_ops.c
+++ b/source/blender/editors/interface/interface_ops.c
@@ -949,4 +949,5 @@ void ED_button_operatortypes(void)
/* external */
WM_operatortype_append(UI_OT_eyedropper_color);
WM_operatortype_append(UI_OT_eyedropper_id);
+ WM_operatortype_append(UI_OT_eyedropper_depth);
}