Geometry Nodes: propagate material from guides in Interpolate Curves node
This was missing from the original implementation.
This commit is contained in:
parent
6e4e5f6484
commit
813425877b
|
@ -747,6 +747,11 @@ static GeometrySet generate_interpolated_curves(
|
|||
all_neighbor_indices,
|
||||
all_neighbor_weights);
|
||||
|
||||
if (guide_curves_id.mat != nullptr) {
|
||||
child_curves_id->mat = static_cast<Material **>(MEM_dupallocN(guide_curves_id.mat));
|
||||
child_curves_id->totcol = guide_curves_id.totcol;
|
||||
}
|
||||
|
||||
return GeometrySet::create_with_curves(child_curves_id);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue