Nested Collections cannot be made Local #68931

Closed
opened 2019-08-20 22:21:15 +02:00 by Steve Warner · 5 comments

System Information
Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.86

Blender Version
Broken: version: 2.81 (sub 2), branch: master, commit date: 2019-08-20 07:45, hash: f2cab8267f
Worked: (optional)

Short description of error
If you Link a collection from another .blend file that has objects/meshes nested inside several collections, those meshes cannot be made local in the scene in which they were linked.

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]
[Based on the default startup or an attached .blend file (as simple as possible)]
This applies to 2.80 and 2.81
Open the attached .blend file. You will see The Scene Collection. Inside that is a Monkey Collection. Inside that is a Deeper collection. And inside that is a Suzanne object.
Clear the scene
Delete the default cube
Select File>Link
Navigate to the monkey.blend file and choose Collection
Select the MonkeyCollection and choose Link from Library
The Monkey Collection will appear in your scene and can be seen in the outliner
In the outliner, toggle down the MonkeyCollection and you will see the white "MonkeyCollection" icon with a link next to it indicating that it's linked.
Select the main MonkeyCollection (the one that's orange)
Go to Object>Relations>Make Local>All
Look in the outliner. The link is gone from the MonkeyCollection indicating that the object is now local to the scene
Try to go to the Edit mode to edit the Monkey mesh. The Edit option will not appear. Only Object mode will appear.
It is now impossible to make the Suzanne object local / editable in this scene.

monkey.blend

**System Information** Operating system: Windows-10-10.0.17134 64 Bits Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.86 **Blender Version** Broken: version: 2.81 (sub 2), branch: master, commit date: 2019-08-20 07:45, hash: `f2cab8267f` Worked: (optional) **Short description of error** If you Link a collection from another .blend file that has objects/meshes nested inside several collections, those meshes cannot be made local in the scene in which they were linked. **Exact steps for others to reproduce the error** [Please describe the exact steps needed to reproduce the issue] [Based on the default startup or an attached .blend file (as simple as possible)] This applies to 2.80 and 2.81 Open the attached .blend file. You will see The Scene Collection. Inside that is a Monkey Collection. Inside that is a Deeper collection. And inside that is a Suzanne object. Clear the scene Delete the default cube Select File>Link Navigate to the monkey.blend file and choose Collection Select the MonkeyCollection and choose Link from Library The Monkey Collection will appear in your scene and can be seen in the outliner In the outliner, toggle down the MonkeyCollection and you will see the white "MonkeyCollection" icon with a link next to it indicating that it's linked. Select the main MonkeyCollection (the one that's orange) Go to Object>Relations>Make Local>All Look in the outliner. The link is gone from the MonkeyCollection indicating that the object is now local to the scene Try to go to the Edit mode to edit the Monkey mesh. The Edit option will not appear. Only Object mode will appear. It is now impossible to make the Suzanne object local / editable in this scene. [monkey.blend](https://archive.blender.org/developer/F7675902/monkey.blend)
Author

Added subscriber: @stevewarner

Added subscriber: @stevewarner

Added subscriber: @mont29

Added subscriber: @mont29

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Bastien Montagne self-assigned this 2019-08-21 12:33:21 +02:00

there is no bug here. After making everything local, your view layer is still not instancing the MonkeyCollection, you only have an empty object instancing that collection. in other words, your monkey object itself does not exist in the scene. You have to instantiate its collection in the scene (e.g. by drag-dropping it in the outliner, from the instancing empty to the master collection)> then you can edit it as any regular object.

there is no bug here. After making everything local, your view layer is still not instancing the `MonkeyCollection`, you only have an empty object instancing that collection. in other words, your monkey object itself does not exist in the scene. You have to instantiate its collection in the scene (e.g. by drag-dropping it in the outliner, from the instancing empty to the master collection)> then you can edit it as any regular object.
Author

Thanks for the help! Just tried this and it totally works. However this process is a bit obscure. I'm sure it's just my lack of understanding of how scene instancing and collections work under the hood. I'd like to suggest a new menu item:

Objects > Relations > Make Local > All Instanced To Scene

This would do what you've described above. It would take whatever linked object you have selected, make it local, and then instance it to the scene. Ideally it would also delete the original non-instanced copy as well. For the user, it would simply appear as though the linked object is now available for editing.

Thanks again!

Thanks for the help! Just tried this and it totally works. However this process is a bit obscure. I'm sure it's just my lack of understanding of how scene instancing and collections work under the hood. I'd like to suggest a new menu item: Objects > Relations > Make Local > All Instanced To Scene This would do what you've described above. It would take whatever linked object you have selected, make it local, and then instance it to the scene. Ideally it would also delete the original non-instanced copy as well. For the user, it would simply appear as though the linked object is now available for editing. Thanks again!
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#68931
No description provided.