UI: update camera background images panel layout.
Differential Revision: https://developer.blender.org/D3739
This commit is contained in:
@@ -267,6 +267,8 @@ class DATA_PT_camera_background_image(CameraButtonsPanel, Panel):
|
|||||||
|
|
||||||
def draw(self, context):
|
def draw(self, context):
|
||||||
layout = self.layout
|
layout = self.layout
|
||||||
|
layout.use_property_split = True
|
||||||
|
layout.use_property_decorate = False
|
||||||
|
|
||||||
cam = context.camera
|
cam = context.camera
|
||||||
use_multiview = context.scene.render.use_multiview
|
use_multiview = context.scene.render.use_multiview
|
||||||
@@ -338,8 +340,8 @@ class DATA_PT_camera_background_image(CameraButtonsPanel, Panel):
|
|||||||
|
|
||||||
column = box.column()
|
column = box.column()
|
||||||
column.active = has_bg
|
column.active = has_bg
|
||||||
column.prop(bg.clip_user, "proxy_render_size", text="")
|
|
||||||
column.prop(bg.clip_user, "use_render_undistorted")
|
column.prop(bg.clip_user, "use_render_undistorted")
|
||||||
|
column.prop(bg.clip_user, "proxy_render_size")
|
||||||
|
|
||||||
if has_bg:
|
if has_bg:
|
||||||
col = box.column()
|
col = box.column()
|
||||||
@@ -348,17 +350,15 @@ class DATA_PT_camera_background_image(CameraButtonsPanel, Panel):
|
|||||||
|
|
||||||
col.row().prop(bg, "frame_method", expand=True)
|
col.row().prop(bg, "frame_method", expand=True)
|
||||||
|
|
||||||
box = col.box()
|
|
||||||
row = box.row()
|
row = box.row()
|
||||||
row.prop(bg, "offset")
|
row.prop(bg, "offset")
|
||||||
|
|
||||||
row = box.row()
|
col = box.column()
|
||||||
row.prop(bg, "use_flip_x")
|
col.prop(bg, "rotation")
|
||||||
row.prop(bg, "use_flip_y")
|
col.prop(bg, "scale")
|
||||||
|
|
||||||
row = box.row()
|
col.prop(bg, "use_flip_x")
|
||||||
row.prop(bg, "rotation")
|
col.prop(bg, "use_flip_y")
|
||||||
row.prop(bg, "scale")
|
|
||||||
|
|
||||||
|
|
||||||
class DATA_PT_camera_display(CameraButtonsPanel, Panel):
|
class DATA_PT_camera_display(CameraButtonsPanel, Panel):
|
||||||
|
|||||||
Reference in New Issue
Block a user