diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_manipulator_camera.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/view3d_manipulator_camera.c b/source/blender/editors/space_view3d/view3d_manipulator_camera.c index 26af554f13a..10f1684b6cb 100644 --- a/source/blender/editors/space_view3d/view3d_manipulator_camera.c +++ b/source/blender/editors/space_view3d/view3d_manipulator_camera.c @@ -301,6 +301,16 @@ static bool WIDGETGROUP_camera_view_poll(const bContext *C, wmManipulatorGroupTy Scene *scene = CTX_data_scene(C); View3D *v3d = CTX_wm_view3d(C); + /* This is just so the border isn't always in the way, + * stealing mouse clicks from regular usage. + * We could change the rules for when to show. */ + { + SceneLayer *sl = CTX_data_scene_layer(C); + if (scene->camera != OBACT_NEW) { + return false; + } + } + if (rv3d->persp == RV3D_CAMOB) { if (scene->r.mode & R_BORDER) { return true; |