[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55048] trunk/blender/source/blender/ editors/space_node/node_relationships.c: Sanity check in the cut-links operator, make sure preview jobs are not running before modifying the node tree.

Lukas Toenne lukas.toenne at googlemail.com
Tue Mar 5 10:34:17 CET 2013


Revision: 55048
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=55048
Author:   lukastoenne
Date:     2013-03-05 09:34:17 +0000 (Tue, 05 Mar 2013)
Log Message:
-----------
Sanity check in the cut-links operator, make sure preview jobs are not running before modifying the node tree.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_node/node_relationships.c

Modified: trunk/blender/source/blender/editors/space_node/node_relationships.c
===================================================================
--- trunk/blender/source/blender/editors/space_node/node_relationships.c	2013-03-05 09:34:14 UTC (rev 55047)
+++ trunk/blender/source/blender/editors/space_node/node_relationships.c	2013-03-05 09:34:17 UTC (rev 55048)
@@ -840,7 +840,9 @@
 	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;
 




More information about the Bf-blender-cvs mailing list