2.5: warning fixes
[blender-staging.git] / source / blender / editors / mesh / editmesh_tools.c
index d29a4e21913a47a4ade75282cefb4da3a179994b..70c3cf15a3b3a31958bb8b847c3a76b8d96a8fc4 100644 (file)
@@ -6668,7 +6668,7 @@ static int subdivide_exec(bContext *C, wmOperator *op)
        esubdivideflag(obedit, em, 1, smooth, fractal, scene->toolsettings->editbutflag|flag, cuts, 0);
 
        DAG_object_flush_update(scene, obedit, OB_RECALC_DATA);
-       WM_event_add_notifier(C, NC_OBJECT|ND_GEOM_SELECT, obedit);
+       WM_event_add_notifier(C, NC_OBJECT|ND_GEOM_DATA, obedit);
 
        return OPERATOR_FINISHED;
 }