- removed makeDispList, set_displist_onlyzero
[blender.git] / source / blender / python / api2_2x / Object.c
index 6afd4a4a9fe8552d9828548168dc6e4aac7bfc98..2d3585f5f1e496a18bd681c5343110379b26b951 100644 (file)
@@ -1431,7 +1431,7 @@ static PyObject *Object_makeDisplayList( BPy_Object * self )
        if( ob->type == OB_FONT )
                text_to_curve( ob, 0 );
 
-       makeDispList( ob );
+       DAG_object_flush_update(G.scene, ob, OB_RECALC_DATA);
 
        Py_INCREF( Py_None );
        return Py_None;