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:
authorJulian Eisel <eiseljulian@gmail.com>2015-09-10 02:27:28 +0300
committerJulian Eisel <eiseljulian@gmail.com>2015-09-10 02:33:28 +0300
commitcd06b57d4d030cbfd193ebb807a93acd75888653 (patch)
tree55d2321862a9e5290556333e786cbd924b0f15df /source/blender/blenkernel/intern/camera.c
parentbf10989da09c3851d0f8dc5e87b7f20e0bb4d3a2 (diff)
Add initial camera focal length widget
Needs some more work still, especially, it should become a plane widget (currently it's just a new arrow style since it needs almost the same handling as an arrow). Was requested in IRC, and seemed like a nice project to tackle until we found a way to fix facemap drawing :P
Diffstat (limited to 'source/blender/blenkernel/intern/camera.c')
-rw-r--r--source/blender/blenkernel/intern/camera.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/camera.c b/source/blender/blenkernel/intern/camera.c
index b67f553b3b0..807ae9094fd 100644
--- a/source/blender/blenkernel/intern/camera.c
+++ b/source/blender/blenkernel/intern/camera.c
@@ -392,6 +392,7 @@ void BKE_camera_params_compute_matrix(CameraParams *params)
/***************************** Camera View Frame *****************************/
+/* keep logic in sync with WIDGETGROUP_camera_create */
void BKE_camera_view_frame_ex(
const Scene *scene, const Camera *camera,
const float drawsize, const bool do_clip, const float scale[3],