diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-12-19 15:38:20 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-12-19 15:38:20 +0300 |
commit | 8dcd210de0661d0cb15d139e2dc724129e6ef432 (patch) | |
tree | 788f056f6704feb472febf699155bd3db30872b2 /source/blender/editors | |
parent | 79bb472720610d8b2e925d9d21db77b62c415318 (diff) |
bug [#25292] No undo scale with sculpt mode
applies to project paint too, added with comment.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/transform/transform_conversions.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c index 1029501b036..64b7596355c 100644 --- a/source/blender/editors/transform/transform_conversions.c +++ b/source/blender/editors/transform/transform_conversions.c @@ -5391,8 +5391,12 @@ void createTransData(bContext *C, TransInfo *t) sort_trans_data_dist(t); } } - else if (ob && (ob->mode & OB_MODE_SCULPT)) { - /* sculpt mode has own undo stack, transform ops redo clears sculpt undo stack */ + else if (ob && (ob->mode & (OB_MODE_SCULPT|OB_MODE_TEXTURE_PAINT))) { + /* sculpt mode and project paint have own undo stack + * transform ops redo clears sculpt/project undo stack. + * + * Could use 'OB_MODE_ALL_PAINT' since there are key conflicts, + * transform + paint isnt well supported. */ } else { createTransObject(C, t); |