[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [57427] trunk/blender/source/blender/ compositor/operations/COM_MovieClipOperation.cpp: Fix crash in movie clip node when ibuf fails to load.
Sergey Sharybin
sergey.vfx at gmail.com
Thu Jun 13 12:25:41 CEST 2013
Revision: 57427
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=57427
Author: nazgul
Date: 2013-06-13 10:25:41 +0000 (Thu, 13 Jun 2013)
Log Message:
-----------
Fix crash in movie clip node when ibuf fails to load.
Was a stupid mistake in another fix here :(
Modified Paths:
--------------
trunk/blender/source/blender/compositor/operations/COM_MovieClipOperation.cpp
Modified: trunk/blender/source/blender/compositor/operations/COM_MovieClipOperation.cpp
===================================================================
--- trunk/blender/source/blender/compositor/operations/COM_MovieClipOperation.cpp 2013-06-13 09:52:14 UTC (rev 57426)
+++ trunk/blender/source/blender/compositor/operations/COM_MovieClipOperation.cpp 2013-06-13 10:25:41 UTC (rev 57427)
@@ -93,7 +93,7 @@
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);
}
More information about the Bf-blender-cvs
mailing list