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 17:23:48 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-13 17:23:48 +0400
commit2e72720718d80d3659a4f84143905b0e69724186 (patch)
tree3d78b1ec880517ba7158e535849a1bee5e5e7c23 /release/scripts/startup
parent91781c76c4b1bb3eecd31a2b482a4c87754cd2a7 (diff)
apply offset to the camera view - this works exactly like camera shift (transforms X/Y in the same space).
Diffstat (limited to 'release/scripts/startup')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index eb2f14fa3a8..d7fe7ebbbf7 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -2586,9 +2586,10 @@ class VIEW3D_PT_background_image(Panel):
if bg.view_axis != 'CAMERA':
col.prop(bg, "size")
- row = col.row(align=True)
- row.prop(bg, "offset_x", text="X")
- row.prop(bg, "offset_y", text="Y")
+
+ row = col.row(align=True)
+ row.prop(bg, "offset_x", text="X")
+ row.prop(bg, "offset_y", text="Y")
class VIEW3D_PT_transform_orientations(Panel):