CurvesGeometry: Add initial vertex group support #106944

Merged
Falk David merged 24 commits from filedescriptor/blender:curves-deform-verts into main 2023-09-27 10:26:16 +02:00
1 changed files with 0 additions and 3 deletions
Showing only changes of commit ed12d73cd8 - Show all commits

View File

@ -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

Not sure this comment is really necessary, it's just the same thing as the CustomData_reset calls above.

Not sure this comment is really necessary, it's just the same thing as the `CustomData_reset` calls above.
this->attributes_for_write().add<float3>(