Undo revision 23130 which was a merge with 2.5, a messy one because I did something...
[blender.git] / source / blender / editors / mesh / meshtools.c
index 4aa9982..5d4be25 100644 (file)
@@ -34,7 +34,6 @@
 #include <stdlib.h>
 #include <string.h>
 #include <math.h>
-#include <float.h>
 
 #include "MEM_guardedalloc.h"
 
@@ -682,7 +681,7 @@ void sort_faces(Scene *scene, View3D *v3d)
 
        MEM_freeN(index);
 
-       DAG_id_flush_update(ob->data, OB_RECALC_DATA);
+       DAG_object_flush_update(scene, ob, OB_RECALC_DATA);
 }