Differential D10978 Diff 37170 source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc
Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc
| Show First 20 Lines • Show All 110 Lines • ▼ Show 20 Lines | case CD_PROP_FLOAT3: { | ||||
| }, | }, | ||||
| default_float3_column_width); | default_float3_column_width); | ||||
| } | } | ||||
| case CD_PROP_COLOR: { | case CD_PROP_COLOR: { | ||||
| return column_values_from_function( | return column_values_from_function( | ||||
| column_id.name, | column_id.name, | ||||
| domain_size, | domain_size, | ||||
| [varray](int index, CellValue &r_cell_value) { | [varray](int index, CellValue &r_cell_value) { | ||||
| Color4f value; | ColorGeometry4f value; | ||||
| varray->get(index, &value); | varray->get(index, &value); | ||||
| r_cell_value.value_color = value; | r_cell_value.value_color = value; | ||||
| }, | }, | ||||
| default_color_column_width); | default_color_column_width); | ||||
| } | } | ||||
| default: | default: | ||||
| break; | break; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 318 Lines • Show Last 20 Lines | |||||