[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55215] trunk/blender/source/blender/ compositor/operations/COM_TranslateOperation.cpp: Fix for crash in special cases when mixing translate node with other
Sergey Sharybin
sergey.vfx at gmail.com
Tue Mar 12 15:04:58 CET 2013
Revision: 55215
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=55215
Author: nazgul
Date: 2013-03-12 14:04:58 +0000 (Tue, 12 Mar 2013)
Log Message:
-----------
Fix for crash in special cases when mixing translate node with other
Issue was caused by calling ensureDelta from initexecution, which will
read pixels from an input and it could read from non-initialized
operations.
Issue was originally introduced in svn rev54235 which added ensureDelta
to translate's initExecution, but since rev54349 this call seems to be
doing nothing.
Revision Links:
--------------
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=54235
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=54349
Modified Paths:
--------------
trunk/blender/source/blender/compositor/operations/COM_TranslateOperation.cpp
Modified: trunk/blender/source/blender/compositor/operations/COM_TranslateOperation.cpp
===================================================================
--- trunk/blender/source/blender/compositor/operations/COM_TranslateOperation.cpp 2013-03-12 13:18:39 UTC (rev 55214)
+++ trunk/blender/source/blender/compositor/operations/COM_TranslateOperation.cpp 2013-03-12 14:04:58 UTC (rev 55215)
@@ -42,8 +42,6 @@
this->m_inputOperation = this->getInputSocketReader(0);
this->m_inputXOperation = this->getInputSocketReader(1);
this->m_inputYOperation = this->getInputSocketReader(2);
-
- ensureDelta();
}
void TranslateOperation::deinitExecution()
More information about the Bf-blender-cvs
mailing list