bugfix [#24796] Drivers are ineffective on Text & Curve obj. geometry parameters
authorCampbell Barton <ideasman42@gmail.com>
Fri, 19 Nov 2010 07:31:24 +0000 (07:31 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 19 Nov 2010 07:31:24 +0000 (07:31 +0000)
also added note that adjusting bone radius changes the parent bone for connected child bones, and fix typo on failing to read startup.blend (both pointed out by MikeS on IRC)

source/blender/blenkernel/intern/object.c
source/blender/editors/space_view3d/view3d_buttons.c
source/blender/windowmanager/intern/wm_files.c

index 99375c9fb2006793234a47a783d6dd4ed4605f67..35e57829c65563714509e87e1abad63788714e63 100644 (file)
@@ -2551,9 +2551,13 @@ void object_handle_update(Scene *scene, Object *ob)
                                        makeDerivedMesh(scene, ob, NULL, CD_MASK_BAREMESH);
                        }
                        else if(ob->type==OB_MBALL) {
+                               /* evaluate drivers */
+                               BKE_animsys_evaluate_animdata(data_id, adt, ctime, ADT_RECALC_DRIVERS);
                                makeDispListMBall(scene, ob);
                        } 
                        else if(ELEM3(ob->type, OB_CURVE, OB_SURF, OB_FONT)) {
+                               /* evaluate drivers */
+                               BKE_animsys_evaluate_animdata(data_id, adt, ctime, ADT_RECALC_DRIVERS);
                                makeDispListCurveTypes(scene, ob, 0);
                        }
                        else if(ELEM(ob->type, OB_CAMERA, OB_LAMP)) {
index 95de2dae7773d487ce31168457700498e527d2f6..5c95423e77f166346753293e4e8bcd9b171ef7f4 100644 (file)
@@ -919,7 +919,7 @@ static void v3d_editarmature_buts(uiLayout *layout, Object *ob)
        uiItemR(col, &eboneptr, "head", 0, "Head", 0);
        if (ebone->parent && ebone->flag & BONE_CONNECTED ) {
                PointerRNA parptr = RNA_pointer_get(&eboneptr, "parent");
-               uiItemR(col, &parptr, "tail_radius", 0, "Radius", 0);
+               uiItemR(col, &parptr, "tail_radius", 0, "Radius (Parent)", 0);
        } else {
                uiItemR(col, &eboneptr, "head_radius", 0, "Radius", 0);
        }
index 35efca94fc56a6e3002db36fc3981117809d80be..ba601a65ad5481f037a1a2287fee31d74ec6389f 100644 (file)
@@ -353,7 +353,7 @@ int WM_read_homefile(bContext *C, wmOperator *op)
                        tstr[0] = '\0';
                        from_memory = 1;
                        if (op) {
-                               BKE_report(op->reports, RPT_INFO, "Config directory with startup.blend file found."); 
+                               BKE_report(op->reports, RPT_INFO, "Config directory with startup.blend file not found."); 
                        }
                }
        }