Blender Git Loki

Git Commits -> Revision ed870f8

Revision ed870f8 by Julian Eisel (master)
July 20, 2020, 17:54 (GMT)
Fix weird placement of "Motion Tracking" in 3D View overlay popup

There was a weird looking gap between the checkbox and the "Motion Tracking"
label. Plus, the label could not be clicked to change the value, unlike
usually.

Issue is that the row is actually a sub-panel header. The checkbox being drawn
with the draw_header() callback, and the label being added as separate item by
the popover panel code. This adds a hack so the checkbox can add the panel
label itself (the popup drawing skips adding the label then). That addresses
mentioned issues.

Commit Details:

Full Hash: ed870f87b94224c195cbe2df14445e4808b7b5f3
Parent Commit: d40c39f
Lines Changed: +28, -2

2 Modified Paths:

/release/scripts/startup/bl_ui/space_view3d.py (+1, -1) (Diff)
/source/blender/editors/interface/interface_layout.c (+27, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021