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>2012-03-07 16:30:29 +0400
committerLukas Toenne <lukas.toenne@googlemail.com>2012-03-07 16:30:29 +0400
commit43711d856891c46c1dc898554f40534d9b5f529f (patch)
tree3d37b62a648480c972611c9f4c1c91a171985100 /source/blender/editors/space_view3d/drawmesh.c
parente6c2f05efad729911d4bfd52b0c1b44c506e272c (diff)
Simplified the ntreeUpdate function by getting rid of the dependency list and limiting resorting to cases where it is actually necessary (when nodes get added/removed or links change).
Node updates should generally be local by design, i.e. changes should not depend on any of the other nodes in the same tree. The original purpose of the dependency sort was to allow some experimental nodes to update their socket types based on upstream connected nodes, but these have been removed long ago. If such features need to be implemented they should instead use the tree-wide update callback, which is called after all the local node updates are done. Removing the extra allocation and recursive function calls from most updates will ensure this function stays as fast as possible and can be called during node space context updates (snode_set_context), which are done very frequently (redraw).
Diffstat (limited to 'source/blender/editors/space_view3d/drawmesh.c')
0 files changed, 0 insertions, 0 deletions