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:
authorDalai Felinto <dfelinto@gmail.com>2018-06-02 12:22:41 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-06-02 12:22:44 +0300
commitbb8770b97648fc655b5de0aacb6ea6f816e9e26c (patch)
treea6ab7b23a5a5998e3c47ff3f0fd4d3d614046ff6 /release/scripts/startup/bl_ui/properties_data_camera.py
parent8433ed76b2fc9a0017f256031911a0e4608086f9 (diff)
Fix UI for camera data
The fix bit is the split. But since we are using col.separator() left and right we need this as well. I still don't think the separators are the way to go, yet may as well be consistent with the current design in place, thus the extra separator here too.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_data_camera.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_data_camera.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_camera.py b/release/scripts/startup/bl_ui/properties_data_camera.py
index e3d30f35632..f82512b2fde 100644
--- a/release/scripts/startup/bl_ui/properties_data_camera.py
+++ b/release/scripts/startup/bl_ui/properties_data_camera.py
@@ -127,7 +127,8 @@ class DATA_PT_lens(CameraButtonsPanel, Panel):
sub.prop(cam, "shift_x", text="Shift X")
sub.prop(cam, "shift_y", text="Y")
- col = split.column(align=True)
+ col.separator()
+ sub = col.column(align=True)
sub.prop(cam, "clip_start", text="Clip Start")
sub.prop(cam, "clip_end", text="End")