Steps to reproduce:
1) start Blender
2) in the Node Editor, using Composite Nodes, add a Viewer node or SplitViewer node
3) try to duplicate the node
I'm using b2.56a r34135 (own compile) on Vista win32
- The same operation does not crash official b2.56a.
- Duplicating the Viewer node in Texture Nodes does not crash Blender
Description
Event Timeline
cant redo this crash r34137. linux, 64bit debug build.
tried...
- duplicating newly added node
- duplicating with 2 inputs set (image showing)
- duplicating node on its own
- duplicating split viewer node with all other nodes selected.
Can anyone else confirm?
Also tested
- after fresh compile (now r34154)
- with cog's build on Graphicall (r34135)
Blender crashes systematically when I try to duplicate an (Split)Viewer node in Composite Nodes.
Blender Official beta 2.56a x64 b34076
Win 7 x64
Confirmed in Windows 7 x64.
Blender crashed after SHIFT-D on a Viewer node in the compositing node editor.
Confirmed in Windows 7 x64, using official Blender 2.56a x64.
Blender crashes when duplicating either the Viewer node, or the Split Viewer node.
Tested in OSX with 2.56a release and current svn 34175, no crashers.
Best is to attach a simple demo file with the setup, it might be related to something we don't redo correctly.
I *really* have to insist reporters here to respect our bug reporting guidelines...
I've attached a demo file. It's pretty much the default scene with nodes enabled and with an added Viewer node.
Win7 x64 34176
Node crashes on node_tree_from_ID (node_edit.c) because idtype=ID_IM (which doesn't exist in else if) and therefore *ntree is not assign
The original call comes from node_duplicate_exec:
/* to ensure redraws or rerenders happen */
for(node= snode->edittree->nodes.first; node; node= node->next)
if(node->flag & SELECT)
if(node->id)
ED_node_changed_update(node->id, node);
Alexander: good discovery! I still couldn't get the crash, but the code was definitely bad... it got called with a wrong argument.
Fix goes to svn now with credit :)