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:
authorTon Roosendaal <ton@blender.org>2009-05-20 20:55:28 +0400
committerTon Roosendaal <ton@blender.org>2009-05-20 20:55:28 +0400
commitd5a4a57e5c2303607a98fd4c6a0cd6fb67339bca (patch)
tree403c125995aa9decb91900f4c740bfe3efb58ec8 /source/blender/editors/space_node
parent34aaa18af2d6de656ead73c5de02fe8f0ed4eb49 (diff)
2.5
Node editor: - Crash could occur on ALT+LMB remove link lines (read free'd mem) - Button labels were handled as full buttons, disabling node usage quite a lot, like drag, select, or create links. (Caused by making all node labels buttons) Brecht: old UI_NO_HILITE can be depricated, it was for bad overdraw issues. I guess it's OK to not handle Label buttons at all...
Diffstat (limited to 'source/blender/editors/space_node')
-rw-r--r--source/blender/editors/space_node/node_edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/node_edit.c b/source/blender/editors/space_node/node_edit.c
index 5ee7326cd2f..56d7a649eb1 100644
--- a/source/blender/editors/space_node/node_edit.c
+++ b/source/blender/editors/space_node/node_edit.c
@@ -2118,7 +2118,7 @@ static int cut_links_exec(bContext *C, wmOperator *op)
if(i>1) {
bNodeLink *link, *next;
- for(link= snode->edittree->links.first; link; link= link->next) {
+ for(link= snode->edittree->links.first; link; link= next) {
next= link->next;
if(cut_links_intersect(link, mcoords, i)) {