forked from bartvdbraak/blender
Bugfix [#28244] Setting vector handle in fcurve can fail
So apparently this was a regression from 2.4x, since vector handles were one of the handle types which could be set independently for each handle (vs both needing to be the same, for example, Auto Handles)
This commit is contained in:
parent
656adc53b4
commit
b8473d70e2
@ -792,12 +792,8 @@ static short set_bezier_auto_clamped(KeyframeEditData *UNUSED(ked), BezTriple *b
|
||||
/* Sets the selected bezier handles to type 'vector' */
|
||||
static short set_bezier_vector(KeyframeEditData *UNUSED(ked), BezTriple *bezt)
|
||||
{
|
||||
if ((bezt->f1 & SELECT) || (bezt->f3 & SELECT)) {
|
||||
if (bezt->f1 & SELECT) bezt->h1= HD_VECT;
|
||||
if (bezt->f3 & SELECT) bezt->h2= HD_VECT;
|
||||
|
||||
ENSURE_HANDLES_MATCH(bezt);
|
||||
}
|
||||
if (bezt->f1 & SELECT) bezt->h1= HD_VECT;
|
||||
if (bezt->f3 & SELECT) bezt->h2= HD_VECT;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user