Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-08-15 20:36:25 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-08-15 20:36:25 +0400
commit314b14301fd565b93bbb75697c29b109eacf813d (patch)
treef3e759c2040a58928975ca379f4eada8f171a915 /source/blender/editors/mesh
parentde330b0d5c341a86ad3413c420edd2702288d1e0 (diff)
2.5: warning fixes
Directories intern/ and source/blender/ now compile warning free again here with scons/gcc.
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editmesh_mods.c2
-rw-r--r--source/blender/editors/mesh/editmesh_tools.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_mods.c b/source/blender/editors/mesh/editmesh_mods.c
index 72ca97921ef..44f63427e5f 100644
--- a/source/blender/editors/mesh/editmesh_mods.c
+++ b/source/blender/editors/mesh/editmesh_mods.c
@@ -4309,6 +4309,8 @@ static int smooth_vertex_exec(bContext *C, wmOperator *op)
for (i=0; i<repeat; i++) {
smooth_vertex(C, op);
}
+
+ return OPERATOR_FINISHED;
}
void MESH_OT_vertices_smooth(wmOperatorType *ot)
diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c
index d29a4e21913..70c3cf15a3b 100644
--- a/source/blender/editors/mesh/editmesh_tools.c
+++ b/source/blender/editors/mesh/editmesh_tools.c
@@ -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;
}