Revision: 37979
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=37979
Author:   aligorith
Date:     2011-06-30 04:38:27 +0000 (Thu, 30 Jun 2011)
Log Message:
-----------
Bugfixes:
* After changing driver target settings, the driver F-Curves now have
their "disabled" flags cleared, so that they will be updated
immediately instead of needing a manual "Update Dependencies" flush
* Little comment tweak to appease my text editor

Modified Paths:
--------------
    
branches/soc-2011-pepper/source/blender/editors/interface/interface_handlers.c
    branches/soc-2011-pepper/source/blender/makesrna/intern/rna_fcurve.c

Modified: 
branches/soc-2011-pepper/source/blender/editors/interface/interface_handlers.c
===================================================================
--- 
branches/soc-2011-pepper/source/blender/editors/interface/interface_handlers.c  
    2011-06-30 04:32:59 UTC (rev 37978)
+++ 
branches/soc-2011-pepper/source/blender/editors/interface/interface_handlers.c  
    2011-06-30 04:38:27 UTC (rev 37979)
@@ -1236,7 +1236,7 @@
                case ':':
                case ';':
                case '\'':
-               case '\"':
+               case '\"': // " - an extra closing one for Aligorith's text 
editor
                case '<':
                case '>':
                case ',':
@@ -4220,6 +4220,7 @@
                
                /* Keyframes */
                if(but->flag & UI_BUT_ANIMATED_KEY) {
+                       /* replace/delete keyfraemes */
                        if(length) {
                                uiItemBooleanO(layout, "Replace Keyframes", 
ICON_NONE, "ANIM_OT_keyframe_insert_button", "all", 1);
                                uiItemBooleanO(layout, "Replace Single 
Keyframe", ICON_NONE, "ANIM_OT_keyframe_insert_button", "all", 0);
@@ -4230,6 +4231,11 @@
                                uiItemBooleanO(layout, "Replace Keyframe", 
ICON_NONE, "ANIM_OT_keyframe_insert_button", "all", 0);
                                uiItemBooleanO(layout, "Delete Keyframe", 
ICON_NONE, "ANIM_OT_keyframe_delete_button", "all", 0);
                        }
+                       
+                       /* keyframe settings */
+                       uiItemS(layout);
+                       
+                       
                }
                else if(but->flag & UI_BUT_DRIVEN);
                else if(is_anim) {
@@ -4272,6 +4278,7 @@
                }
                
                /* Keying Sets */
+               // TODO: check on modifyability of Keying Set when doing this
                if(is_anim) {
                        uiItemS(layout);
 

Modified: branches/soc-2011-pepper/source/blender/makesrna/intern/rna_fcurve.c
===================================================================
--- branches/soc-2011-pepper/source/blender/makesrna/intern/rna_fcurve.c        
2011-06-30 04:32:59 UTC (rev 37978)
+++ branches/soc-2011-pepper/source/blender/makesrna/intern/rna_fcurve.c        
2011-06-30 04:38:27 UTC (rev 37979)
@@ -139,6 +139,7 @@
        /* find the driver this belongs to and update it */
        for (fcu=adt->drivers.first; fcu; fcu=fcu->next) {
                driver= fcu->driver;
+               fcu->flag &= ~FCURVE_DISABLED;
                
                if (driver) {
                        // FIXME: need to be able to search targets for 
required one...

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

Reply via email to