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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-11-13 05:31:59 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-11-13 05:33:46 +0300
commit4782e941c816f8965e243e43d26a87150ee6afd5 (patch)
tree22864300c59e9d120a211ffee2b9b5ad004e7a92 /source
parent125257758007b0164ea1b7122b9c03476c3f871a (diff)
Fix T71494: brush curve transform crash in sculpt mode
Error in 309cd047ef46f
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/transform/transform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c
index dd43e487d92..9f0b729e3a4 100644
--- a/source/blender/editors/transform/transform.c
+++ b/source/blender/editors/transform/transform.c
@@ -2415,7 +2415,7 @@ bool initTransform(bContext *C, TransInfo *t, wmOperator *op, const wmEvent *eve
createTransData(C, t); // make TransData structs from selection
- if (t->options & CTX_SCULPT) {
+ if ((t->options & CTX_SCULPT) && !(t->options & CTX_PAINT_CURVE)) {
ED_sculpt_init_transform(C);
}