Revision: 17539
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=17539
Author:   aligorith
Date:     2008-11-23 01:18:58 +0100 (Sun, 23 Nov 2008)

Log Message:
-----------
AnimSys2: Toggling Auto-Handles (Alt-H) now works again

Modified Paths:
--------------
    branches/animsys2/source/blender/src/editipo_mods.c

Modified: branches/animsys2/source/blender/src/editipo_mods.c
===================================================================
--- branches/animsys2/source/blender/src/editipo_mods.c 2008-11-23 00:08:35 UTC 
(rev 17538)
+++ branches/animsys2/source/blender/src/editipo_mods.c 2008-11-23 00:18:58 UTC 
(rev 17539)
@@ -806,13 +806,13 @@
        
        ei= G.sipo->editipo;
        for(a=0; a<G.sipo->totipo; a++, ei++) {
-               if (ISPOIN3(ei, flag & IPO_VISIBLE, flag & IPO_SELECT, icu))
+               if (ISPOIN3(ei, flag & IPO_VISIBLE, flag & 
(IPO_SELECT|IPO_EDIT), icu))
                        if(ei->flag & IPO_AUTO_HORIZ) set= 0;
        }
        
        ei= G.sipo->editipo;
        for(a=0; a<G.sipo->totipo; a++, ei++) {
-               if (ISPOIN3(ei, flag & IPO_VISIBLE, flag & IPO_SELECT, icu)) {
+               if (ISPOIN3(ei, flag & IPO_VISIBLE, flag & 
(IPO_SELECT|IPO_EDIT), icu)) {
                        if(set) ei->flag |= IPO_AUTO_HORIZ;
                        else ei->flag &= ~IPO_AUTO_HORIZ;
                }
@@ -1070,6 +1070,7 @@
                                                         * which means that 
they may be inadvertantly moved as well.
                                                         * Also, for 
convenience, handles should get same status as keyframe (if it was within 
bounds)
                                                         */
+                                                        // TODO: select 
handles independent?
                                                        if (BLI_in_rctf(&rectf, 
bezt->vec[1][0], bezt->vec[1][1])) {
                                                                if (selflag) {
                                                                        
bezt->f1 |= SELECT;


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to