Revision: 14194
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=14194
Author:   aligorith
Date:     2008-03-21 10:46:37 +0100 (Fri, 21 Mar 2008)

Log Message:
-----------
Two changes:
* Attempted fix for bug #8599c (inserting new keyframes mucked up existing 
IPO-Keys). Now it calls make_ipokey() regardless of whether they exist already 
(if ipokeys are being shown in the IPO-Editor). This might be a bit slower on 
some files.

* 'Auto-Sync PoseLib' button is now only visible when there's a PoseLib

Modified Paths:
--------------
    trunk/blender/source/blender/src/buttons_editing.c
    trunk/blender/source/blender/src/drawipo.c

Modified: trunk/blender/source/blender/src/buttons_editing.c
===================================================================
--- trunk/blender/source/blender/src/buttons_editing.c  2008-03-21 03:08:04 UTC 
(rev 14193)
+++ trunk/blender/source/blender/src/buttons_editing.c  2008-03-21 09:46:37 UTC 
(rev 14194)
@@ -5249,10 +5249,10 @@
                        std_libbuttons(block, 143, 130, 0, NULL, 
B_POSELIB_BROWSE, ID_AC, 0, (ID *)act, (ID *)ob, &(G.buts->menunr), 
B_POSELIB_ALONE, 0, B_POSELIB_DELETE, 0, 0);
                        uiBlockSetCol(block, TH_AUTO);
                        
-                       uiDefBut(block, BUT, B_POSELIB_VALIDATE,  "Auto-Sync 
PoseLib",  xco,110,160,20, 0, 0, 0, 0, 0, "Syncs the current PoseLib with the 
poses available");
-                       
                        /* PoseLib -  Pose editing controls */
                        if (act) {
+                               uiDefBut(block, BUT, B_POSELIB_VALIDATE,  
"Auto-Sync PoseLib",  xco,110,160,20, 0, 0, 0, 0, 0, "Syncs the current PoseLib 
with the poses available");
+                               
                                uiBlockBeginAlign(block);
                                        /* currently 'active' pose */
                                        if (act->markers.first) {

Modified: trunk/blender/source/blender/src/drawipo.c
===================================================================
--- trunk/blender/source/blender/src/drawipo.c  2008-03-21 03:08:04 UTC (rev 
14193)
+++ trunk/blender/source/blender/src/drawipo.c  2008-03-21 09:46:37 UTC (rev 
14194)
@@ -2220,8 +2220,9 @@
                
                /* ipokeys */
                if(sipo->showkey) {
-                       if(sipo->ipokey.first==0) make_ipokey();
-                       else update_ipokey_val();
+                       //if(sipo->ipokey.first==0) make_ipokey();
+                       //else update_ipokey_val();
+                       make_ipokey();
                        draw_ipokey(sipo);
                }
                


_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to