diff options
-rw-r--r-- | source/blender/src/editipo.c | 8 | ||||
-rw-r--r-- | source/blender/src/space.c | 4 |
2 files changed, 7 insertions, 5 deletions
diff --git a/source/blender/src/editipo.c b/source/blender/src/editipo.c index d218cdac0f7..0db4f60ffca 100644 --- a/source/blender/src/editipo.c +++ b/source/blender/src/editipo.c @@ -698,6 +698,7 @@ void make_ob_editipo(Object *ob, SpaceIpo *si) ei->flag= ei->icu->flag; } + ei++; } } @@ -1162,9 +1163,6 @@ void make_editipo() ei= G.sipo->editipo; for(a=0; a<G.sipo->totipo; a++, ei++) { - - if(ei->flag & IPO_VISIBLE) ei->flag |= IPO_SELECT; - if(ei->icu) ei->icu->flag= ei->flag; } editipo_changed(G.sipo, 0); @@ -1408,7 +1406,6 @@ void swap_selectall_editipo() BezTriple *bezt; int a, b; /* , sel=0; */ - deselectall_key(); get_status_editipo(); @@ -1429,6 +1426,7 @@ void swap_selectall_editipo() } else if(totipo_edit==0) { ei= G.sipo->editipo; + printf("before totipo_sel %d\n", totipo_sel); if (ei){ for(a=0; a<G.sipo->totipo; a++) { if( ei->flag & IPO_VISIBLE ) { @@ -1439,6 +1437,8 @@ void swap_selectall_editipo() } update_editipo_flags(); } + get_status_editipo(); + printf("after totipo_sel %d\n", totipo_sel); } else { ei= G.sipo->editipo; diff --git a/source/blender/src/space.c b/source/blender/src/space.c index 3f796a79ff9..1bd6658a667 100644 --- a/source/blender/src/space.c +++ b/source/blender/src/space.c @@ -1967,7 +1967,9 @@ static void winqreadipospace(ScrArea *sa, void *spacedata, BWinEvent *evt) if(in_ipo_buttons()) { swap_visible_editipo(); } - else swap_selectall_editipo(); + else { + swap_selectall_editipo(); + } allspace (REMAKEIPO, 0); allqueue (REDRAWNLA, 0); allqueue (REDRAWACTION, 0); |