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)
|
void MovieClipAlphaOperation::executePixelSampled(float output[4], float x, float y, PixelSampler sampler)
|
||||||
{
|
{
|
||||||
MovieClipBaseOperation::executePixelSampled(output, x, y, sampler);
|
float result[4];
|
||||||
output[0] = output[3];
|
MovieClipBaseOperation::executePixelSampled(result, x, y, sampler);
|
||||||
output[1] = 0.0f;
|
output[0] = result[3];
|
||||||
output[2] = 0.0f;
|
|
||||||
output[3] = 0.0f;
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user