Page MenuHome

Dragging objects/collections into geometry nodes references the wrong datablock for duplicate names
Confirmed, NormalPublicBUG


System Information
Operating system: Linux-5.8.0-7630-generic-x86_64-with-glibc2.32 64 Bits
Graphics card: Quadro RTX 6000/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.32.03

Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-04-29 07:54, hash: rB868c8e8617d0
Worked: never (?)

Short description of error
When, due to library linking, a multiple datablocks have the same name, the drag and drop mechanism from outliner to geometry nodes editor does not take that into account and references the wrong datablock.

Exact steps for others to reproduce the error
Drag and drop objects/collections in the main.blend example file into the open geometry nodes editor.

Event Timeline

Original patch here: D10648 uses BKE_libblock_find_name which returns the first matching ID by name. Seems drag and drop needs some further investigation.

Note, this does not only apply to geometry nodes. Dropping collections in the 3d view has the same issue.

Germano Cavalcante (mano-wii) changed the task status from Needs Triage to Confirmed.Fri, Apr 30, 5:23 PM
Germano Cavalcante (mano-wii) changed the subtype of this task from "Report" to "Bug".