From ee08c27f95908f33a3ed4f97d1d147ca80922b65 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 1 Dec 2012 08:47:39 +0000 Subject: fix [#33368] Crash with multilayer exr node --- source/blender/compositor/intern/COM_Node.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/compositor/intern/COM_Node.h') 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 @@ -105,6 +105,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 -- cgit v1.2.3