int values were not drawing curve handles, yet the handles could still be selected...
authorCampbell Barton <ideasman42@gmail.com>
Fri, 20 May 2011 01:02:00 +0000 (01:02 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 20 May 2011 01:02:00 +0000 (01:02 +0000)
source/blender/editors/space_graph/graph_draw.c

index d3b9c68a492a011fae5ed1d279780522fc152047..382bb71a5926060e1050dddd0c0b61fd03076158 100644 (file)
@@ -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 */
                )