diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-03-31 21:54:23 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-03-31 21:54:23 +0400 |
commit | 14e94d742e985488490cbbb74e6e1dc9923bc4c2 (patch) | |
tree | c3ede2add59da182ba1bb292cca827755157546e /source | |
parent | 5d02ce8a7bc1bfd8010b2ad0d521886dc27fabd2 (diff) |
using wrong RNA type in sculpt update.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index 1d818818908..225852b951e 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -2916,7 +2916,7 @@ static void sculpt_update_cache_invariants(bContext* C, Sculpt *sd, SculptSessio ss->cache->initial_mouse[1] = 0; } - mode = RNA_int_get(op->ptr, "mode"); + mode = RNA_enum_get(op->ptr, "mode"); cache->invert = mode == BRUSH_STROKE_INVERT; cache->alt_smooth = mode == BRUSH_STROKE_SMOOTH; |