[Bf-blender-cvs] [bb8770b9764] blender2.8: Fix UI for camera data
Dalai Felinto
noreply at git.blender.org
Sat Jun 2 11:24:48 CEST 2018
Commit: bb8770b97648fc655b5de0aacb6ea6f816e9e26c
Author: Dalai Felinto
Date: Sat Jun 2 11:22:41 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBbb8770b97648fc655b5de0aacb6ea6f816e9e26c
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.
===================================================================
M release/scripts/startup/bl_ui/properties_data_camera.py
===================================================================
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")
More information about the Bf-blender-cvs
mailing list