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:
authorLukas Toenne <lukas.toenne@googlemail.com>2013-03-05 13:34:17 +0400
committerLukas Toenne <lukas.toenne@googlemail.com>2013-03-05 13:34:17 +0400
commit4caa3ae8b9db919a23a94413d15eee47a3bbe456 (patch)
treeb92e103cfa35a87080f011977553296627aa9e61 /source/blender
parent6e76d538551015b0344e4ad2ce467b4f86ca77b1 (diff)
Sanity check in the cut-links operator, make sure preview jobs are not running before modifying the node tree.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/space_node/node_relationships.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/node_relationships.c b/source/blender/editors/space_node/node_relationships.c
index 8d7eef22822..fd934ddfbdb 100644
--- a/source/blender/editors/space_node/node_relationships.c
+++ b/source/blender/editors/space_node/node_relationships.c
@@ -840,7 +840,9 @@ static int cut_links_exec(bContext *C, wmOperator *op)
if (i > 1) {
int found = FALSE;
bNodeLink *link, *next;
-
+
+ ED_preview_kill_jobs(C);
+
for (link = snode->edittree->links.first; link; link = next) {
next = link->next;