Bugfix #4627: headerResize() was overflowing a string parameter and
destroying part of the transform matrix. Also remove a debigging printf.
This commit is contained in:
@@ -1514,7 +1514,7 @@ int Resize(TransInfo *t, short mval[2])
|
||||
float size[3], mat[3][3];
|
||||
float ratio;
|
||||
int i;
|
||||
char str[50];
|
||||
char str[200];
|
||||
|
||||
/* for manipulator, center handle, the scaling can't be done relative to center */
|
||||
if( (t->flag & T_USES_MANIPULATOR) && t->con.mode==0) {
|
||||
|
||||
@@ -242,8 +242,6 @@ char handleNumInput(NumInput *n, unsigned short event)
|
||||
return 0;
|
||||
}
|
||||
|
||||
printf("value %f cntrl %d\n", n->val[idx], n->ctrl[idx]);
|
||||
|
||||
/* REDRAW SINCE NUMBERS HAVE CHANGED */
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user