Page MenuHome

Crash when copying nodes
Closed, ResolvedPublic

Description

System Information
Operating system: Linux, Windows
Graphics card: 1080 GTX, 960 GTX

Blender Version
Broken: 872ff507a26c

Short description of error
Blender consistently crashes when copy-pasting nodes.

Exact steps for others to reproduce the error

  1. Create some nodes in a material.
  2. Copy paste them into another material.
  3. Poof!

Event Timeline

Philipp Oeser (lichtwerk) triaged this task as Confirmed, Medium priority.Feb 15 2019, 1:21 PM

Confirmed, for me this already hangs in node_clipboard_copy_exec
(probably endless loop because new node is automatically selected....)

assume this is caused by rBc6e3a20ab60b, checking...

This comment here (from rBc6e3a20ab60b):

this node is virtual, detached from any actual Blender data currently.

is actually not true in its current state (node is added to the nodetree).
Just pass NULL to BKE_node_copy_ex should do it: D4360