Using the "Lock" option in IpoWindow didn't update for Materials or Camera
authorTon Roosendaal <ton@blender.org>
Thu, 24 Nov 2005 14:27:27 +0000 (14:27 +0000)
committerTon Roosendaal <ton@blender.org>
Thu, 24 Nov 2005 14:27:27 +0000 (14:27 +0000)
Ipos.

source/blender/src/editipo.c

index 1ae90cccfd6193226760308f564ffb979c89c7b3..34a6e2cfc699332f9e7e21d940425fa8550ca5ae 100644 (file)
@@ -3905,9 +3905,14 @@ void transform_ipo(int mode)
 
                        /* update realtime */
                        if(G.sipo->lock) {
-                               if(G.sipo->blocktype==ID_MA) {
+                               if(G.sipo->blocktype==ID_MA || G.sipo->blocktype==ID_TE) {
+                                       do_ipo(G.sipo->ipo);
                                        force_draw_plus(SPACE_BUTS, 0);
                                }
+                               else if(G.sipo->blocktype==ID_CA) {
+                                       do_ipo(G.sipo->ipo);
+                                       force_draw_plus(SPACE_VIEW3D, 0);
+                               }
                                else if(G.sipo->blocktype==ID_KE) {
                                        DAG_object_flush_update(G.scene, OBACT, OB_RECALC_DATA);
                                        force_draw_plus(SPACE_VIEW3D, 0);