diff options
author | Ton Roosendaal <ton@blender.org> | 2006-07-23 13:10:05 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-07-23 13:10:05 +0400 |
commit | a6b0c136bb0dca8d351010a9f5e5154db77c3256 (patch) | |
tree | ad127a3bb7e1fd7786f79ae868520016d3123d89 /source/blender/src/editnode.c | |
parent | a01e81cf7d0ed4379c20bd5f331512e9d31871fe (diff) |
Bugfix #4770
When adding a new node in a group, the call to refresh input/output
sockets was called after a compositing update was executed.
Just moved this call 2 lines up.
This also uncommits the fix from Joilnen, the stack pointers in the node
system are *per definition* set. If NULL, it's an indication something
else is wrong.
Diffstat (limited to 'source/blender/src/editnode.c')
-rw-r--r-- | source/blender/src/editnode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editnode.c b/source/blender/src/editnode.c index 99cc9486ba6..535f94ef585 100644 --- a/source/blender/src/editnode.c +++ b/source/blender/src/editnode.c @@ -1338,8 +1338,8 @@ bNode *node_add_node(SpaceNode *snode, int type, float locx, float locy) node->locy -= gnode->locy; } - node_set_active(snode, node); snode_verify_groups(snode); + node_set_active(snode, node); if(node->id) id_us_plus(node->id); |