[Bf-blender-cvs] [8927bc5dff] temp-layers-ui-table: Swap order of selectability/visibility toggles
Julian Eisel
noreply at git.blender.org
Thu Feb 9 14:34:49 CET 2017
Commit: 8927bc5dff52c376284b87c684a8835ac51808de
Author: Julian Eisel
Date: Thu Feb 9 14:34:08 2017 +0100
Branches: temp-layers-ui-table
https://developer.blender.org/rB8927bc5dff52c376284b87c684a8835ac51808de
Swap order of selectability/visibility toggles
Just to be consistent with outliner.
===================================================================
M source/blender/editors/space_collections/collections_edit.c
===================================================================
diff --git a/source/blender/editors/space_collections/collections_edit.c b/source/blender/editors/space_collections/collections_edit.c
index e7bdd4c2ae..69d29ffb37 100644
--- a/source/blender/editors/space_collections/collections_edit.c
+++ b/source/blender/editors/space_collections/collections_edit.c
@@ -42,10 +42,10 @@ void collections_table_create(SceneLayer *layer, uiTable **r_table)
uiTableColumn *col;
UI_table_column_add(table, "name", "Collection", collections_draw_cell);
- col = UI_table_column_add(table, "visibility", "Visible", collections_draw_cell_visibility);
- UI_table_column_width_set(col, UI_UNIT_X, TABLE_UNIT_PX, UI_UNIT_X);
col = UI_table_column_add(table, "selectability", "Selectable", collections_draw_cell_selectability);
UI_table_column_width_set(col, UI_UNIT_X, TABLE_UNIT_PX, UI_UNIT_X);
+ col = UI_table_column_add(table, "visibility", "Visible", collections_draw_cell_visibility);
+ UI_table_column_width_set(col, UI_UNIT_X, TABLE_UNIT_PX, UI_UNIT_X);
for (LayerCollection *collection = layer->layer_collections.first; collection; collection = collection->next) {
UI_table_row_add(table, collection);
More information about the Bf-blender-cvs
mailing list