[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36656] branches/particles-2010/source/ blender/blenkernel/intern/node.c: Removed the NodeTagChanged call from nodeRemLink.

Lukas Toenne lukas.toenne at googlemail.com
Fri May 13 07:45:18 CEST 2011


Revision: 36656
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36656
Author:   lukastoenne
Date:     2011-05-13 05:45:18 +0000 (Fri, 13 May 2011)
Log Message:
-----------
Removed the NodeTagChanged call from nodeRemLink. Had added this for complex nodes that need to react to input link changes, but this is not used now and too dangerous when used on incomplete nodes.

Tree updates already have a revised flag+update system. Nodes should use a similar way of implicit tagging and subsequent update function calls. This would also avoid too frequent updates.

Modified Paths:
--------------
    branches/particles-2010/source/blender/blenkernel/intern/node.c

Modified: branches/particles-2010/source/blender/blenkernel/intern/node.c
===================================================================
--- branches/particles-2010/source/blender/blenkernel/intern/node.c	2011-05-13 05:25:43 UTC (rev 36655)
+++ branches/particles-2010/source/blender/blenkernel/intern/node.c	2011-05-13 05:45:18 UTC (rev 36656)
@@ -515,8 +515,6 @@
 	BLI_remlink(&ntree->links, link);
 	if(link->tosock)
 		link->tosock->link= NULL;
-	if(link->tonode)
-		NodeTagChanged(ntree, link->tonode);
 	MEM_freeN(link);
 	
 	ntree->update |= NTREE_UPDATE_LINKS;




More information about the Bf-blender-cvs mailing list