[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [13163] trunk/blender/source/blender: Custom Names for Nodes

Matt Ebb matt at mke3.net
Mon Jan 7 23:19:38 CET 2008


On Jan 8, 2008 6:38 AM, Juho Vepsalainen <bebraw at gmail.com> wrote:

> Log Message:
> -----------
> Custom Names for Nodes


+       for(node= snode->edittree->nodes.first; node; node= node->next) {
+               if(node->flag & SELECT) {
+                       if(found_node) {
+                               error("Can rename only one selected
node at time");
+                               return;
+                       }
+                       rename_node= node;
+                       found_node= 1;
+               }
+       }

This error sounds like it could get quite annoying. The renaming
should work on the *active* node, not just any selected ones, then you
don't have this problem at all.

cheers

Matt


More information about the Bf-committers mailing list