diff options
author | Luca Bonavita <mindrones@gmail.com> | 2010-07-20 16:20:55 +0400 |
---|---|---|
committer | Luca Bonavita <mindrones@gmail.com> | 2010-07-20 16:20:55 +0400 |
commit | faeec3b147a4869007bd1dbe8ca95fc1d5b7ed59 (patch) | |
tree | 5975a1d1976b7188f45c9f446fe6dd9a29e7bd5b /release | |
parent | 8621c71c4c875a8e7e74fb2c3c66c0fd99c2c476 (diff) |
== 3D: background image ==
Doesn't visualize size and x, y position of the background Image in camera view
(reviewed by brecht before committing)
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/ui/space_view3d.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/release/scripts/ui/space_view3d.py b/release/scripts/ui/space_view3d.py index 3ad945cd19d..c5d74d397e8 100644 --- a/release/scripts/ui/space_view3d.py +++ b/release/scripts/ui/space_view3d.py @@ -2147,10 +2147,11 @@ class VIEW3D_PT_background_image(bpy.types.Panel): box.template_image(bg, "image", bg.image_user, compact=True) box.prop(bg, "transparency", slider=True) - box.prop(bg, "size") - row = box.row(align=True) - row.prop(bg, "offset_x", text="X") - row.prop(bg, "offset_y", text="Y") + if bg.view_axis != 'CAMERA': + box.prop(bg, "size") + row = box.row(align=True) + row.prop(bg, "offset_x", text="X") + row.prop(bg, "offset_y", text="Y") class VIEW3D_PT_transform_orientations(bpy.types.Panel): |