Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2019-09-18 14:32:04 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2019-09-18 20:27:47 +0300
commit67310ed976186f95e737daa2f83b2cd615351f00 (patch)
treeefc6393bef6d668eeaddabe3044750ecc658492b
parent383c4ba3d83fa706319888c39731a52b3f319ffd (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
-rw-r--r--source/blender/editors/transform/transform_convert.c2
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);
}