diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-12-01 12:47:39 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-12-01 12:47:39 +0400 |
commit | ee08c27f95908f33a3ed4f97d1d147ca80922b65 (patch) | |
tree | e7f433d8dc9892c3ff72b076bf2bf2d9170fe7f8 /source/blender/compositor/intern/COM_Node.h | |
parent | 0da227cac105ef29ac431788a0bd33cb755013cc (diff) |
fix [#33368] Crash with multilayer exr node
Diffstat (limited to 'source/blender/compositor/intern/COM_Node.h')
-rw-r--r-- | source/blender/compositor/intern/COM_Node.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/compositor/intern/COM_Node.h b/source/blender/compositor/intern/COM_Node.h index 468a95ed434..c098d6da32b 100644 --- a/source/blender/compositor/intern/COM_Node.h +++ b/source/blender/compositor/intern/COM_Node.h @@ -106,6 +106,10 @@ public: void addSetVectorOperation(ExecutionSystem *graph, InputSocket *inputsocket, int editorNodeInputSocketIndex); /** + * Create dummy warning operation, use when we can't get the source data. + */ + NodeOperation *convertToOperations_invalid_index(ExecutionSystem *graph, int index); + /** * when a node has no valid data (missing image or a group nodes ID pointer is NULL) * call this function from #convertToOperations, this way the node sockets are converted * into valid outputs, without this the compositor system gets confused and crashes, see [#32490] |