From dc65a26bf6216440d7470be900f3b211c49f22d4 Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Tue, 10 Jul 2012 12:23:49 +0000 Subject: refactor node highlight code. New implementation will not write to uninitialized memory. it happened when you delete a node that was being executed. in the compostor --- source/blender/makesdna/DNA_node_types.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source/blender/makesdna') diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h index ea894ff7a0d..58a6332515e 100644 --- a/source/blender/makesdna/DNA_node_types.h +++ b/source/blender/makesdna/DNA_node_types.h @@ -178,9 +178,7 @@ typedef struct bNode { char label[64]; /* custom user-defined label, MAX_NAME */ short custom1, custom2; /* to be abused for buttons */ float custom3, custom4; - int highlight; /* 0 = not highlighted, 1-N = highlighted*/ - int pad; - + short need_exec, exec; /* need_exec is set as UI execution event, exec is flag during exec */ void *threaddata; /* optional extra storage for use in thread (read only then!) */ rctf totr; /* entire boundbox */ -- cgit v1.2.3