* Fixed nodetree animation by giving nodes unique names
authorMatt Ebb <matt@mke3.net>
Wed, 11 Nov 2009 09:11:21 +0000 (09:11 +0000)
committerMatt Ebb <matt@mke3.net>
Wed, 11 Nov 2009 09:11:21 +0000 (09:11 +0000)
commitc0fae59c99fdcb802b055c81d51ece6cf9ce5518
treee6bb9f3a302e3e222a4fc84b2c1ca746946a9199
parentb2bb9ca39a687efc5dd1014e78650e39452d7cbf
* Fixed nodetree animation by giving nodes unique names

Now the rna path to nodes happens via the node name, which is ensured to be unique via RNA.
As part of this, the node->username string has been removed, upon renaming the node itself it takes care of making sure it's unique (like bones, constraints, etc). There's currently no interactive rename tool, but you can do it via the datablocks editor.

- plus a few notifier tweaks, using the newer NC_NODE notifier to refresh graph editor etc.
source/blender/blenkernel/BKE_node.h
source/blender/blenkernel/intern/node.c
source/blender/blenloader/intern/readfile.c
source/blender/editors/space_action/space_action.c
source/blender/editors/space_graph/space_graph.c
source/blender/editors/space_nla/space_nla.c
source/blender/editors/space_node/node_draw.c
source/blender/editors/space_node/node_edit.c
source/blender/makesdna/DNA_node_types.h
source/blender/makesrna/intern/rna_nodetree.c
source/blender/windowmanager/WM_types.h