Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/geometry/nodes/node_geo_attribute_fill.cc
| Show First 20 Lines • Show All 105 Lines • ▼ Show 20 Lines | case CD_PROP_FLOAT: { | ||||
| break; | break; | ||||
| } | } | ||||
| case CD_PROP_FLOAT3: { | case CD_PROP_FLOAT3: { | ||||
| const float3 value = params.get_input<float3>("Value"); | const float3 value = params.get_input<float3>("Value"); | ||||
| attribute->fill(&value); | attribute->fill(&value); | ||||
| break; | break; | ||||
| } | } | ||||
| case CD_PROP_COLOR: { | case CD_PROP_COLOR: { | ||||
| const Color4f value = params.get_input<Color4f>("Value_002"); | const ColorGeometry4f value = params.get_input<ColorGeometry4f>("Value_002"); | ||||
| attribute->fill(&value); | attribute->fill(&value); | ||||
| break; | break; | ||||
| } | } | ||||
| case CD_PROP_BOOL: { | case CD_PROP_BOOL: { | ||||
| const bool value = params.get_input<bool>("Value_003"); | const bool value = params.get_input<bool>("Value_003"); | ||||
| attribute->fill(&value); | attribute->fill(&value); | ||||
| break; | break; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines | |||||