CurvesGeometry: Add initial vertex group support #106944
@ -60,9 +60,6 @@ CurvesGeometry::CurvesGeometry(const int point_num, const int curve_num)
|
||||
this->curve_num = curve_num;
|
||||
CustomData_reset(&this->point_data);
|
||||
CustomData_reset(&this->curve_data);
|
||||
|
||||
/* Make sure to clear this before using the attributes API. Otherwise the vertex group accessor
|
||||
* might try to read from invalid memory. */
|
||||
BLI_listbase_clear(&this->vertex_group_names);
|
||||
|
||||
filedescriptor marked this conversation as resolved
Outdated
|
||||
this->attributes_for_write().add<float3>(
|
||||
|
Loading…
Reference in New Issue
Block a user
Not sure this comment is really necessary, it's just the same thing as the
CustomData_reset
calls above.