Math Lib: rename fill_*, to copy_*
matching convention for fixed length api, eg: copy_v3_fl
This commit is contained in:
@@ -364,22 +364,22 @@ static void dm_merge_transform(
|
||||
/* set origindex */
|
||||
index_orig = result->getVertDataArray(result, CD_ORIGINDEX);
|
||||
if (index_orig) {
|
||||
fill_vn_i(index_orig + cap_verts_index, cap_nverts, ORIGINDEX_NONE);
|
||||
copy_vn_i(index_orig + cap_verts_index, cap_nverts, ORIGINDEX_NONE);
|
||||
}
|
||||
|
||||
index_orig = result->getEdgeDataArray(result, CD_ORIGINDEX);
|
||||
if (index_orig) {
|
||||
fill_vn_i(index_orig + cap_edges_index, cap_nedges, ORIGINDEX_NONE);
|
||||
copy_vn_i(index_orig + cap_edges_index, cap_nedges, ORIGINDEX_NONE);
|
||||
}
|
||||
|
||||
index_orig = result->getPolyDataArray(result, CD_ORIGINDEX);
|
||||
if (index_orig) {
|
||||
fill_vn_i(index_orig + cap_polys_index, cap_npolys, ORIGINDEX_NONE);
|
||||
copy_vn_i(index_orig + cap_polys_index, cap_npolys, ORIGINDEX_NONE);
|
||||
}
|
||||
|
||||
index_orig = result->getLoopDataArray(result, CD_ORIGINDEX);
|
||||
if (index_orig) {
|
||||
fill_vn_i(index_orig + cap_loops_index, cap_nloops, ORIGINDEX_NONE);
|
||||
copy_vn_i(index_orig + cap_loops_index, cap_nloops, ORIGINDEX_NONE);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -525,7 +525,7 @@ static DerivedMesh *arrayModifier_doArray(
|
||||
if (use_merge) {
|
||||
/* Will need full_doubles_map for handling merge */
|
||||
full_doubles_map = MEM_mallocN(sizeof(int) * result_nverts, "mod array doubles map");
|
||||
fill_vn_i(full_doubles_map, result_nverts, -1);
|
||||
copy_vn_i(full_doubles_map, result_nverts, -1);
|
||||
}
|
||||
|
||||
/* copy customdata to original geometry */
|
||||
|
Reference in New Issue
Block a user