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:
authorPablo Dobarro <pablodp606>2020-09-18 00:44:39 +0300
committerPablo Dobarro <pablodp606@gmail.com>2020-09-18 00:44:54 +0300
commit459fd1814c6f946ae4aa5edf867a8b4c2c80c0c5 (patch)
tree1fa9b84f428b46e1da81b4faa70047d08ad43555 /source/blender
parent39de0b79fd635ed67e8b1816c32199177d7f9f07 (diff)
Fix bad allocation in mask sculpt gestures
Reviewed By: sergey Differential Revision: https://developer.blender.org/D8886
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/sculpt_paint/paint_mask.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_mask.c b/source/blender/editors/sculpt_paint/paint_mask.c
index c9fdf3c238d..1f86fc84f59 100644
--- a/source/blender/editors/sculpt_paint/paint_mask.c
+++ b/source/blender/editors/sculpt_paint/paint_mask.c
@@ -712,7 +712,7 @@ static void sculpt_gesture_mask_end(bContext *C, SculptGestureContext *sgcontext
static void sculpt_gesture_init_mask_properties(SculptGestureContext *sgcontext, wmOperator *op)
{
- sgcontext->operation = MEM_callocN(sizeof(SculptGestureFaceSetOperation), "Mask Operation");
+ sgcontext->operation = MEM_callocN(sizeof(SculptGestureMaskOperation), "Mask Operation");
SculptGestureMaskOperation *mask_operation = (SculptGestureMaskOperation *)sgcontext->operation;