Memory error 'end corrupt' reports for deform groups... can't find it yet,

but this code ensures the strcpy() is using BLI_strncpy now, and it uses
more clear names for the mallocs.
This commit is contained in:
2005-10-20 20:38:08 +00:00
parent c677ffdebb
commit 968b3e7101
4 changed files with 11 additions and 16 deletions

View File

@@ -205,7 +205,7 @@ void join_mesh(void)
}
}
if (!odg){
odg = MEM_callocN (sizeof(bDeformGroup), "deformGroup");
odg = MEM_callocN (sizeof(bDeformGroup), "join deformGroup");
memcpy (odg, dg, sizeof(bDeformGroup));
BLI_addtail(&ob->defbase, odg);
}