[Bf-blender-cvs] [f2acfb460f9] master: UI: Add separator after Local Camera row

William Reynish noreply at git.blender.org
Fri Apr 17 20:43:14 CEST 2020


Commit: f2acfb460f991924917113ca085e0dd9b0babed7
Author: William Reynish
Date:   Fri Apr 17 20:43:12 2020 +0200
Branches: master
https://developer.blender.org/rBf2acfb460f991924917113ca085e0dd9b0babed7

UI: Add separator after Local Camera row

===================================================================

M	release/scripts/startup/bl_ui/space_view3d.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index b3cf06b77b3..9a46d7a6e82 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -5407,9 +5407,7 @@ class VIEW3D_PT_view3d_properties(Panel):
         subcol.prop(view, "clip_start", text="Clip Start")
         subcol.prop(view, "clip_end", text="End")
 
-        subcol.separator()
-
-        col = layout.column()
+        layout.separator()
 
         col = layout.column(align=False, heading="Local Camera")
         col.use_property_decorate = False
@@ -5420,9 +5418,11 @@ class VIEW3D_PT_view3d_properties(Panel):
         sub.enabled = view.use_local_camera
         sub.prop(view, "camera", text="")
 
-        subcol = col.column(align=True)
-        subcol.prop(view, "use_render_border")
-        subcol.active = view.region_3d.view_perspective != 'CAMERA'
+        layout.separator()
+
+        col = layout.column(align=True)
+        col.prop(view, "use_render_border")
+        col.active = view.region_3d.view_perspective != 'CAMERA'
 
 
 class VIEW3D_PT_view3d_lock(Panel):



More information about the Bf-blender-cvs mailing list