diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2019-09-18 14:32:04 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2019-09-18 20:27:47 +0300 |
commit | 67310ed976186f95e737daa2f83b2cd615351f00 (patch) | |
tree | efc6393bef6d668eeaddabe3044750ecc658492b /source/blender/editors/transform/transform_convert.c | |
parent | 383c4ba3d83fa706319888c39731a52b3f319ffd (diff) |
Fix T70006: crash when transforming paint curve edit points in sculpt mode
This was caused by rB309cd047ef46.
Above commit introduced code that would skip early for sculptmode
(leaving out the neccessary createTransPaintCurveVerts).
Reviewers: pablodp606, jbakker, mano-wii
Maniphest Tasks: T70006
Differential Revision: https://developer.blender.org/D5837
Diffstat (limited to 'source/blender/editors/transform/transform_convert.c')
-rw-r--r-- | source/blender/editors/transform/transform_convert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_convert.c b/source/blender/editors/transform/transform_convert.c index 1e783e0e7b8..67bb132972e 100644 --- a/source/blender/editors/transform/transform_convert.c +++ b/source/blender/editors/transform/transform_convert.c @@ -2399,7 +2399,7 @@ void createTransData(bContext *C, TransInfo *t) } countAndCleanTransDataContainer(t); } - else if (t->options & CTX_SCULPT) { + else if ((t->options & CTX_SCULPT) && !(t->options & CTX_PAINT_CURVE)) { createTransSculpt(t); countAndCleanTransDataContainer(t); } |