diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-11-02 19:07:49 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-11-02 19:07:49 +0300 |
commit | 1d9f90ed42ba61d615dd0188e39cc12f0b71493f (patch) | |
tree | 9238a741403b33613d6fbdb19497f34ffdbb1b68 /source/blender/editors/sculpt_paint | |
parent | 9ea97203ae2049ea50e7bfbe3e30815eebb5990c (diff) |
- 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)
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_vertex.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |