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.
This commit is contained in:
Sergey Sharybin
2013-03-12 14:04:58 +00:00
parent b3ff0d6d2a
commit ebcb4b5e75

View File

@@ -42,8 +42,6 @@ void TranslateOperation::initExecution()
this->m_inputOperation = this->getInputSocketReader(0);
this->m_inputXOperation = this->getInputSocketReader(1);
this->m_inputYOperation = this->getInputSocketReader(2);
ensureDelta();
}
void TranslateOperation::deinitExecution()