Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2013-03-12 18:04:58 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2013-03-12 18:04:58 +0400
commitebcb4b5e75c4bb317018fe523511a71dbcaaddc7 (patch)
tree8e9dd9b042a309ad768a44d50b405552f9424194 /source/blender/compositor/operations/COM_TranslateOperation.cpp
parentb3ff0d6d2a95f461ae53c4e61b106b45c7aff48c (diff)
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.
Diffstat (limited to 'source/blender/compositor/operations/COM_TranslateOperation.cpp')
-rw-r--r--source/blender/compositor/operations/COM_TranslateOperation.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/compositor/operations/COM_TranslateOperation.cpp b/source/blender/compositor/operations/COM_TranslateOperation.cpp
index 9f6924eb428..e2582c3b67b 100644
--- a/source/blender/compositor/operations/COM_TranslateOperation.cpp
+++ b/source/blender/compositor/operations/COM_TranslateOperation.cpp
@@ -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()