quiet compiler warnings for BLI_array defines, split BLI_array_append into BLI_array_append / BLI_array_append_r, the latter returning the new array location.

This commit is contained in:
2011-11-16 17:09:41 +00:00
parent aaf14ead15
commit 9087cb91d4
23 changed files with 93 additions and 103 deletions

View File

@@ -280,6 +280,8 @@ typedef struct IndexMapEntry {
short merge_final;
} IndexMapEntry;
#if 0 /* BMESH_TODO, keep this function??? */
/* indexMap - an array of IndexMap entries
* oldIndex - the old index to map
* copyNum - the copy number to map to (original = 0, first copy = 1, etc.)
@@ -305,6 +307,8 @@ static int calc_mapping(IndexMapEntry *indexMap, int oldIndex, int copyNum)
}
}
#endif
static DerivedMesh *arrayModifier_doArray(ArrayModifierData *amd,
Scene *scene, Object *ob, DerivedMesh *dm,
int UNUSED(initFlags))