diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-04-10 18:59:06 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-04-10 18:59:06 +0400 |
commit | 4795f4b9ac984fa47525d04cf2444eeb9267c501 (patch) | |
tree | d40660f4e395502e95d7b09ab73d6f03e09596be /release/scripts | |
parent | 0906ac9914b2ca470d37085b54c52720704bd913 (diff) |
mango request: option to draw background in front of all objects in the viewport.
Should be really handy for painting clean plates.
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 8240841d5ed..5d3003ed373 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -2478,10 +2478,12 @@ class VIEW3D_PT_background_image(Panel): column.prop(bg.clip_user, "use_render_undistorted") if has_bg: - box.prop(bg, "opacity", slider=True) + col = box.column() + col.prop(bg, "show_on_foreground") + col.prop(bg, "opacity", slider=True) if bg.view_axis != 'CAMERA': - box.prop(bg, "size") - row = box.row(align=True) + col.prop(bg, "size") + row = col.row(align=True) row.prop(bg, "offset_x", text="X") row.prop(bg, "offset_y", text="Y") |