From 1d9f90ed42ba61d615dd0188e39cc12f0b71493f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 2 Nov 2009 16:07:49 +0000 Subject: - all add object operators now take view_align as an argument, and enter_editmode where its used. Makes running the operator from python pradictable without having to know the user prefs. - missing return in function - python error in view3d (assumed active object exists) --- source/blender/editors/sculpt_paint/paint_vertex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/sculpt_paint') diff --git a/source/blender/editors/sculpt_paint/paint_vertex.c b/source/blender/editors/sculpt_paint/paint_vertex.c index 9d673581368..f425fa01ebe 100644 --- a/source/blender/editors/sculpt_paint/paint_vertex.c +++ b/source/blender/editors/sculpt_paint/paint_vertex.c @@ -1272,7 +1272,7 @@ static char *wpaint_make_validmap(Mesh *me, Object *ob) } if (!i) - return; + return NULL; validmap = MEM_callocN(i, "wpaint valid map"); -- cgit v1.2.3