System Information
Operating system: Linux-5.13.0-0.rc6.45.fc35.x86_64-x86_64-with-glibc2.34.9000 64 Bits
Graphics card: NVIDIA GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 465.31
Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-08-29 21:39, hash: rBb42354672e80
Worked: never
Short description of error
You can copy-paste a collection instance into its source collection (creating recursion)
Exact steps for others to reproduce the error
- open file
- Ctrl+C
- Ctrl+V
- this will put the instance in its source collection (creating recursion -- which should be avoided)
Dragging and dropping is already prevented in the Outliner.
There is a check in collection_object_add here https://developer.blender.org/diffusion/B/browse/master/source/blender/blenkernel/intern/collection.c$1074
But that fails to detect equality if instance comes from the pastebuffer.