'fix' [#22527] Lens angle under View in 'N' panel does not change the camera view

Made the UI more clear that the Lens value is for the 3d view space data only.
This commit is contained in:
Matt Ebb 2010-06-07 03:44:54 +00:00
parent e27756f0dc
commit 61f50707a4
2 changed files with 2 additions and 1 deletions

@ -1879,6 +1879,7 @@ class VIEW3D_PT_view3d_properties(bpy.types.Panel):
scene = context.scene
col = layout.column()
col.active = view.region_3d.view_perspective != 'CAMERA'
col.prop(view, "lens")
col.label(text="Lock to Object:")
col.prop(view, "lock_object", text="")

@ -358,7 +358,7 @@ static int view3d_smoothview_invoke(bContext *C, wmOperator *op, wmEvent *event)
v3d->lens = sms->new_lens*step + sms->orig_lens*step_inv;
}
ED_region_tag_redraw(CTX_wm_region(C));
WM_event_add_notifier(C, NC_SPACE|ND_SPACE_VIEW3D, v3d);
return OPERATOR_FINISHED;
}