no-longer select handles when transforming in the dopesheet since now the dope sheet acts as if handles are hidden.

also remove invalid comment.
This commit is contained in:
Campbell Barton
2011-09-29 06:13:25 +00:00
parent 5bbd0decfd
commit ceb81b1960
2 changed files with 4 additions and 8 deletions

View File

@@ -306,9 +306,6 @@ static int reset_default_button_exec(bContext *C, wmOperator *op)
/* Since we dont want to undo _all_ edits to settings, eg window /* Since we dont want to undo _all_ edits to settings, eg window
* edits on the screen or on operator settings. * edits on the screen or on operator settings.
* it might be better to move undo's inline - campbell */ * it might be better to move undo's inline - campbell */
/* Note that buttons already account for this, it might be better to
* have a way to edit the buttons rather than set the rna since block
* callbacks also fail to run. */
if(success) { if(success) {
ID *id= ptr.id.data; ID *id= ptr.id.data;
if(id && ID_CHECK_UNDO(id)) { if(id && ID_CHECK_UNDO(id)) {

View File

@@ -2890,12 +2890,11 @@ static int count_fcurve_keys(FCurve *fcu, char side, float cfra)
/* only include points that occur on the right side of cfra */ /* only include points that occur on the right side of cfra */
for (i=0, bezt=fcu->bezt; i < fcu->totvert; i++, bezt++) { for (i=0, bezt=fcu->bezt; i < fcu->totvert; i++, bezt++) {
if (bezt->f2 & SELECT) { if (bezt->f2 & SELECT) {
/* fully select the other two keys */ /* no need to adjust the handle selection since they are assumed
bezt->f1 |= SELECT; * selected (like graph editor with SIPO_NOHANDLES) */
bezt->f3 |= SELECT; if (FrameOnMouseSide(side, bezt->vec[1][0], cfra)) {
if (FrameOnMouseSide(side, bezt->vec[1][0], cfra))
count += 1; count += 1;
}
} }
} }