Fix #20378: object modifier property drivers not updating.

This commit is contained in:
Brecht Van Lommel
2010-02-13 12:16:33 +00:00
parent 6c9aa76d21
commit 9250f15f74

View File

@@ -1161,7 +1161,7 @@ static void rna_property_update(bContext *C, Main *bmain, Scene *scene, PointerR
else {
/* WARNING! This is so property drivers update the display!
* not especially nice */
DAG_id_flush_update(ptr->id.data, OB_RECALC_OB);
DAG_id_flush_update(ptr->id.data, OB_RECALC);
WM_main_add_notifier(NC_WINDOW, NULL);
}