Fix T43974: Alpha output of movie clip node crashes blender
Issue was caused by a bug in the memory optimization commit, should be backported to the final release branch.
This commit is contained in:
@@ -124,9 +124,7 @@ MovieClipAlphaOperation::MovieClipAlphaOperation() : MovieClipBaseOperation()
|
||||
|
||||
void MovieClipAlphaOperation::executePixelSampled(float output[4], float x, float y, PixelSampler sampler)
|
||||
{
|
||||
MovieClipBaseOperation::executePixelSampled(output, x, y, sampler);
|
||||
output[0] = output[3];
|
||||
output[1] = 0.0f;
|
||||
output[2] = 0.0f;
|
||||
output[3] = 0.0f;
|
||||
float result[4];
|
||||
MovieClipBaseOperation::executePixelSampled(result, x, y, sampler);
|
||||
output[0] = result[3];
|
||||
}
|
||||
|
Reference in New Issue
Block a user