Blender Git Statistics -> Branches -> ui-align-rework

"Ui-align-rework" branch

Total commits : 18
Total committers : 1
First Commit : October 20, 2015
Latest Commit : November 6, 2015


Commits by Date

DateNumber of Commits
November 6, 20155
November 5, 20153
November 4, 20151
November 3, 20150
November 2, 20151
November 1, 20150
October 31, 20150
October 30, 20150
October 29, 20150
October 28, 20150
October 27, 20150
October 26, 20150
October 25, 20150
October 24, 20150
October 23, 20150
October 22, 20154
October 21, 20150
October 20, 20154

Committers

AuthorNumber of Commits
Bastien Montagne18

Popular Files

FilenameTotal Edits
interface.c11
properties_render.py3
interface_intern.h2
interface_layout.c2
UI_interface.h2
interface_widgets.c2
interface_align.c1
interface_templates.c1
CMakeLists.txt1

Latest commits Feed

November 6, 2015, 17:35 (GMT)
Split align group code into its own file.

interface.c is becomming a bit too fat...
November 6, 2015, 17:21 (GMT)
Fix comparison between buttons (from review).
November 6, 2015, 17:13 (GMT)
Merge branch 'master' into ui-align-rework
November 6, 2015, 10:03 (GMT)
Merge branch 'master' into ui-align-rework
November 6, 2015, 10:00 (GMT)
Update from reviews, mainly limiting comparison between buttons for big groups.

Current code now sorts buttons in aligngroups from top to bottom, which allows
us some early-out of sub-loop, limiting the O(n2) effect with huge groups of buttons.

Also, bunch of cleanup.
November 5, 2015, 15:03 (GMT)
Merge branch 'master' into ui-align-rework
November 5, 2015, 14:44 (GMT)
Merge branch 'master' into ui-align-rework
November 5, 2015, 10:07 (GMT)
Picky typo fixing.
November 4, 2015, 20:01 (GMT)
Merge branch 'master' into ui-align-rework
November 2, 2015, 18:00 (GMT)
Merge branch 'master' into ui-align-rework
October 22, 2015, 14:30 (GMT)
Merge branch 'master' into ui-align-rework
October 22, 2015, 14:19 (GMT)
Fix (hack around :| ) the one-pixel issue with stiched but not aligned to LEFT/TOP buttons.
October 22, 2015, 07:51 (GMT)
Some more checks & tests, found out were is the cullprit of the off-by-one alignements
of stitched-but-not-aligned buttons on top and left sides, due to correction applied in widget_roundbox_set().
October 22, 2015, 07:22 (GMT)
Huge cleanup, renaming and comments.

Also fixed a few (logical) issues in code.
October 20, 2015, 15:59 (GMT)
Bunch of fixes and cleanup, also take into account non-alignable stuff (like separators),
they need to actually break alignment!

Tortured even more Dimensions panel of Scene buttons to have a really complex aligned layout.

Things work rather nice (much much nicer than with older code at least!), but there is still
a glitch in alignment in some cases, one pixel, though debug prints show it should be same value,
wonder, looks like some rouding stuff or so...
October 20, 2015, 13:04 (GMT)
Refactor of new 'align compute' code.

Much, much shorter now.
October 20, 2015, 13:04 (GMT)
Fix but align drawflags no more cleaned up, and early get-out in case no button uses 'align'.
October 20, 2015, 13:04 (GMT)
UI: fix/rework 'align' computing code.

Previoous code would simply epic fail in complex cases mixing horizontal and vertical layouts,
especially 'column-major' ones.

This ones tries to be more generic and robust.

Globally working rather good, but there are still several glitches compared to previous code.

Also, needs to be refactored to be less verbose.

Also, note that it's roughly 50% slower than previous code - but remains acceptable imho.

MiikaHweb - Blender Git Statistics v1.06
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021