int values were not drawing curve handles, yet the handles could still be selected and transformed, and different handle types set. disable this check and draw curve handles for int fcurves.
This commit is contained in:
@@ -320,7 +320,9 @@ static int draw_fcurve_handles_check(SpaceIpo *sipo, FCurve *fcu)
|
||||
/* don't draw handle lines if handles are not to be shown */
|
||||
if ( (sipo->flag & SIPO_NOHANDLES) || /* handles shouldn't be shown anywhere */
|
||||
(fcu->flag & FCURVE_PROTECTED) || /* keyframes aren't editable */
|
||||
#if 0 /* handles can still be selected and handle types set, better draw - campbell */
|
||||
(fcu->flag & FCURVE_INT_VALUES) || /* editing the handles here will cause weird/incorrect interpolation issues */
|
||||
#endif
|
||||
((fcu->grp) && (fcu->grp->flag & AGRP_PROTECTED)) || /* group that curve belongs to is not editable */
|
||||
(fcu->totvert <= 1) /* do not show handles if there is only 1 keyframe, otherwise they all clump together in an ugly ball */
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user