fix for uninitialized memory use with numeric input:
bevel/inset/marker-move would use uninitialized memory when used as modal operators and pressing backspace after entering values.
This commit is contained in:
@@ -130,6 +130,9 @@ short hasNumInput(NumInput *n)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* \warning \a vec must be set beforehand otherwise we risk uninitialized vars.
|
||||
*/
|
||||
void applyNumInput(NumInput *n, float *vec)
|
||||
{
|
||||
short i, j;
|
||||
|
||||
Reference in New Issue
Block a user