Fix crash in movie clip node when ibuf fails to load.

Was a stupid mistake in another fix here :(
This commit is contained in:
2013-06-13 10:25:41 +00:00
parent 85823bff07
commit 54a42a4254

View File

@@ -93,7 +93,7 @@ void MovieClipBaseOperation::executePixel(float output[4], float x, float y, Pix
if (ibuf == NULL || x < 0 || y < 0 || x >= this->getWidth() || y >= this->getHeight() ) {
zero_v4(output);
}
if (ibuf->rect == NULL && ibuf->rect_float == NULL) {
else if (ibuf->rect == NULL && ibuf->rect_float == NULL) {
/* Happens for multilayer exr, i.e. */
zero_v4(output);
}