=NKey Panel Fix=

The weightgroup menu in the NKEY panel in 
the 3D viewport was using a two-small string variable,
which could cause crashes on msvc compilers (which detects
stack mangling at runtime, nice!).

This should fix bug #6097, though it's hard for me to test
as my default compiler (gcc) is much more lenient :S
This commit is contained in:
Joseph Eagar 2007-02-26 20:36:03 +00:00
parent 44cb770af4
commit c9f4a0f066

@ -1536,7 +1536,7 @@ static void v3d_editvertex_buts(uiBlock *block, Object *ob, float lim)
if(tot==1 && dvert && dvert->totweight) {
bDeformGroup *dg;
int i, max=1, init=1;
char str[32];
char str[320];
for (i=0; i<dvert->totweight; i++){
dg = BLI_findlink (&ob->defbase, dvert->dw[i].def_nr);