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:
authorCampbell Barton <ideasman42@gmail.com>2015-03-18 17:09:41 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-03-24 17:47:48 +0300
commit16cc6ae80e6295e963833f61b8c3113b38f2f276 (patch)
treef6cf304f25c6e48ec5453992a1d7d6c35ab67729
parent37172e7e49b90d9a2c13db3d43034ccb69b31fe3 (diff)
Fix for crash adding mask modifier
-rw-r--r--source/blender/blenkernel/intern/seqmodifier.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/source/blender/blenkernel/intern/seqmodifier.c b/source/blender/blenkernel/intern/seqmodifier.c
index b78529f51b4..edd3d8efd55 100644
--- a/source/blender/blenkernel/intern/seqmodifier.c
+++ b/source/blender/blenkernel/intern/seqmodifier.c
@@ -531,15 +531,11 @@ static void maskmodifier_apply_threaded(int width, int height, unsigned char *re
}
}
-static void maskmodifier_apply(struct SequenceModifierData *smd, ImBuf *ibuf, ImBuf *mask)
+static void maskmodifier_apply(struct SequenceModifierData *UNUSED(smd), ImBuf *ibuf, ImBuf *mask)
{
- BrightContrastModifierData *bcmd = (BrightContrastModifierData *) smd;
- BrightContrastThreadData data;
-
- data.bright = bcmd->bright;
- data.contrast = bcmd->contrast;
+ // SequencerMaskModifierData *bcmd = (SequencerMaskModifierData *)smd;
- modifier_apply_threaded(ibuf, mask, maskmodifier_apply_threaded, &data);
+ modifier_apply_threaded(ibuf, mask, maskmodifier_apply_threaded, NULL);
}
static SequenceModifierTypeInfo seqModifier_Mask = {