Bug fix #2311
File name (40) and dirname (80) were too short in sequence data. Made it compliant using defines FILE_MAXFILE and FILE_MAXDIR. Also replaced all strcpy() and strcat() with strncpy/strncat, with the defines in it. Oh, also fixed plugin path length for sequence, was just 80! Bug fix #2366 Restored old convention that made using SHIFT+CTRL while using button- sliders go with 0.1 stepsize of CTRL. (noticed too late that Chris Burt assigned to self... sorry!)
This commit is contained in:
@@ -1998,7 +1998,7 @@ int Resize(TransInfo *t, short mval[2])
|
||||
|
||||
/* for manipulator, center handle, the scaling can't be done relative to center */
|
||||
if( (t->flag & T_USES_MANIPULATOR) && t->con.mode==0) {
|
||||
ratio = 1.0f - ((t->center2d[0] - mval[0]) + (t->center2d[1] - mval[1]))/100.0f;
|
||||
ratio = 1.0f - ((t->imval[0] - mval[0]) + (t->imval[1] - mval[1]))/100.0f;
|
||||
}
|
||||
else {
|
||||
ratio = (float)sqrt( (float)
|
||||
|
||||
Reference in New Issue
Block a user