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>2012-06-13 16:58:01 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-13 16:58:01 +0400
commit91781c76c4b1bb3eecd31a2b482a4c87754cd2a7 (patch)
tree63c456bd7d3cf996307bc30b9bc3744b29887691 /release/scripts/startup
parentbe1b5f82cee09041fdee355697841ee92b31ef70 (diff)
framing options for camera background image: stretch/fit/crop
Diffstat (limited to 'release/scripts/startup')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 397bdc0d74e..eb2f14fa3a8 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -2575,8 +2575,15 @@ class VIEW3D_PT_background_image(Panel):
if has_bg:
col = box.column()
- col.prop(bg, "show_on_foreground")
col.prop(bg, "opacity", slider=True)
+
+ rowsub = col.row()
+ rowsub.prop(bg, "draw_depth", expand=True)
+
+ if bg.view_axis in {'CAMERA', 'ALL'}:
+ rowsub = col.row()
+ rowsub.prop(bg, "frame_method", expand=True)
+
if bg.view_axis != 'CAMERA':
col.prop(bg, "size")
row = col.row(align=True)