Blender Git Commits

Blender Git "temp-layers-ui-table" branch commits.

February 9, 2017, 13:34 (GMT)
Swap order of selectability/visibility toggles

Just to be consistent with outliner.
February 9, 2017, 13:28 (GMT)
Add columns for visibility and selectability toggles

Good example of where the table API is useful: Adding new columns is a
small change.
February 9, 2017, 13:01 (GMT)
Use entire width of collections editor for table
February 9, 2017, 12:58 (GMT)
Use table background drawing for collections editor
February 9, 2017, 12:52 (GMT)
Merge branch 'uiTable' into temp-layers-ui-table
February 9, 2017, 12:51 (GMT)
Fix mistakes with background drawing
February 9, 2017, 04:22 (GMT)
Draw collection names using layout/button engine

Instead of drawing it directly via BLF call.
February 9, 2017, 04:09 (GMT)
Merge branch 'uiTable' into temp-layers-ui-table
February 9, 2017, 04:09 (GMT)
Create and pass a uiLayout to cells

Played with a more complex and more efficient version, but that made
things pretty complicated. Now this is a simple, but less optimized, solution.
February 9, 2017, 01:56 (GMT)
Support drawing some background color alternating per row
February 7, 2017, 23:04 (GMT)
Draw tables row by row, not column by column
February 6, 2017, 23:45 (GMT)
Unit tests for uiTable API (and fix bugs found using it :)
February 5, 2017, 17:22 (GMT)
Initial commit to use uiTable API for collections editor

Does nothing but drawing a single column for collection name, but it
shows that the API works ;)
February 5, 2017, 16:47 (GMT)
Merge branch 'uiTable' into temp-layers-ui-table
February 5, 2017, 16:25 (GMT)
Cleanup: Add assert, remove unused variable
February 5, 2017, 15:43 (GMT)
Initial implementation of a uiTable API

This adds an initial (and already working), generic API for defining, handling and drawing of table UIs.

It supports two types of tables:
* Vertical flow: Rows are all in a vertical stack.
* Horizontal flow: Rows are stacked vertically, until some threshold height is reached. The table is then split into another vertical stack that is drawn next to the former one. Such drawing could be used for the file browser in non-thumbnail mode.

A table is built out of - guess what - rows and columns. The API allows defining new collumns (identified by an id-name) and inserting new rows at any point. When drawing, we draw a cell for each column/row combination, using a custom cell-drawing callback.
The uiTable API will probably get some support for drawing buttons (uiBut) into custom layouts (uiLayout).

The API is written with big data sets in mind. In future we may get a spreadsheet view where data like all vertices of a mesh is displayed. That would result in thousands of rows, the uiTable API should be ready for this.
February 3, 2017, 17:18 (GMT)
Merge remote-tracking branch 'origin/clay-engine' into render-layers
February 3, 2017, 16:51 (GMT)
Build Clay engine by default
February 3, 2017, 16:39 (GMT)
Another fixup for rB6cdb3845 (Added collection props getter/setter)

Values were getting clamped
February 3, 2017, 16:22 (GMT)
Merge remote-tracking branch 'origin/clay-engine' into render-layers
By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2019