CurvesGeometry: Add initial vertex group support #106944
@ -486,8 +486,8 @@ MutableSpan<MDeformVert> CurvesGeometry::deform_verts_for_write()
|
||||
if (dvert != nullptr) {
|
||||
return {dvert, this->point_num};
|
||||
}
|
||||
return {(MDeformVert *)CustomData_add_layer(
|
||||
&this->point_data, CD_MDEFORMVERT, CD_SET_DEFAULT, this->point_num),
|
||||
return {static_cast<MDeformVert *>(CustomData_add_layer(
|
||||
filedescriptor marked this conversation as resolved
Outdated
|
||||
&this->point_data, CD_MDEFORMVERT, CD_SET_DEFAULT, this->point_num)),
|
||||
this->point_num};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user
Casting style