diff options
author | Matt Ebb <matt@mke3.net> | 2010-01-22 07:21:46 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-01-22 07:21:46 +0300 |
commit | 96b5658d0cd33b02cb6668670b7706b8897c0460 (patch) | |
tree | 2f1ae90734eb57b9001238418a549c3b418d75ae /source/blender/blenkernel | |
parent | 0db45111ce9c504894e0a88dae5f78c03196d233 (diff) |
Fix [#20756] Texture painting on 3D tends to forget textures in the new texture menu.
Part of this fix (loading files with brushes/textures) will only apply for new files saved after this commit
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/BKE_blender.h | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/brush.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_blender.h b/source/blender/blenkernel/BKE_blender.h index 8e7e698a986..5d264be3adf 100644 --- a/source/blender/blenkernel/BKE_blender.h +++ b/source/blender/blenkernel/BKE_blender.h @@ -43,7 +43,7 @@ struct bContext; struct ReportList; #define BLENDER_VERSION 250 -#define BLENDER_SUBVERSION 11 +#define BLENDER_SUBVERSION 12 #define BLENDER_MINVERSION 250 #define BLENDER_MINSUBVERSION 0 diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c index 99cd6975665..e915784e741 100644 --- a/source/blender/blenkernel/intern/brush.c +++ b/source/blender/blenkernel/intern/brush.c @@ -89,6 +89,8 @@ Brush *add_brush(const char *name) brush->flag |= BRUSH_SPACE; brush_curve_preset(brush, CURVE_PRESET_SMOOTH); + + default_mtex(&brush->mtex); /* enable fake user by default */ brush->id.flag |= LIB_FAKEUSER; |