"Make Single User" does not unlink object from other scenes when creating Scene using "Linked Copy" #92978
Labels
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
8 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#92978
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 472.12
Blender Version
Broken: version: 2.93.6 Release Candidate, branch: master, commit date: 2021-11-04 08:11, hash:
1180b4ff4a
Worked: 2.90.1 (according to [description by user DAG here ]], who lists his software version in a [ https:*blender.stackexchange.com/questions/74460/how-to-unlink-remove-an-object-from-a-scene/227238#comment383264_74486 | comment higher in the same question, here .
Short description of error
Scenes created using the "Linked Copy" option do not allow objects to be unlinked via "Make Single User".
Additionally, in my testing, I have not found any way to make single user objects in a scene created using the "Linked Copy" option or in the original scene (i.e. creating a new object in either scene always creates a linked object). Objects deleted from one scene are also deleted in the other. Because of this, I have not been able to find a way to change a Scene created via "Linked Copy" independently of the original scene, making the "Linked Copy" option functionally useless.
Exact steps for others to reproduce the error
Expected Result: The default cube is still in the first Scene
Observed Result: The default cube has been deleted from the first Scene
Added subscriber: @sunboy4224
#96720 was marked as duplicate of this issue
Added subscribers: @mont29, @lichtwerk
Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
In 2.79 this was working a bit more transparent out of the box.
2.79 linked the objects specifically [which could then be made single user "properly" - you get a new object in the linked scene, the original in the original scene].
Since 2.8, it is a bit more complicated:
Make Single User
will act as expected (new object in the linked scene, the original in the original scene):T92978_b_scenario.blend
I would still say this is working more or less by design if you take the above in consideration (even though
Make Single User
objects for objects in linked scenes has lost its purpose tbh).Plus, the behavior of
Make Single User
in the a) scenario is awkward (at least from the user perspective):T92978_a_scenario.blend
@mont29: opinions?
Added subscriber: @mano-wii
I tested it on blender 2.90.1 as mentioned, but the result is the same here.
From what I can see, what is linked is not the objects, but the collections. So any changes within a collection will change for all scenes with the same collection.
The description of
Linked Copy
itself says this:So a "solution" would be to make another collection for the new scene.
But the
Linked Copy
name is weird in my opinion. Makes the user think that the scene is linked. I think a more ideal name would beNew with Linked Collections
.//This seems to be more of a support request than a bug in my opinion.
For support questions, we usually suggest trying community websites: https://www.blender.org/community/
But I realize that this has already been tried (without much success apparently).//
Not to jump into a dev conversation, but rather than simply removing the
Make Single User
functionality for objects-in-linked-collections (as I believe @lichtwerk is suggesting), could you modify it to essentially perform the operation in scenario b) and place the new copy in the master/Scene Collection?And/or, could you add functionality that lets me manipulate linked collections effectively:
When in a linked copy of a scene, right-clicking a linked collection, the options
Instance to Scene
andUnlink
appear. I would expectInstance to Scene
to make a copy of the Collection (and all objects therein) local to the current scene, andUnlink
to simply remove/delete the Collection from the current scene while leaving it in others. However,Instance to Scene
seems to do nothing (Edit: Rather it creates a copy of the Collection itself, without any child objects, though I'm not sure why), andUnlink
seems to just delete the Collection across all Scenes.Further, an option to link non-linked Collections to different scenes (as in scenario a), without having to perform a full "Linked Copy" of a Scene) would be useful, as I can't find that functionality for individual Collections anywhere.
As a user, Collections being linked (rather than objects) was not communicated clearly to me, I wasn't even aware that collections could be shared. A much bigger ask would be having some more communication when moving objects into/out of linked collections, and perhaps a "chain"/"link" icon next to a collection that is linked across multiple Scenes.
This is admittedly turning from a bug report more into a feature request, so I'm happy to repost elsewhere if you would prefer. Thank you for considering!
This is more a known issue I think... Indeed, code is mostly behaving as expected, user should make collection single user, since as already explained (unless linked to scene collection), the object has only one user, the collection linked in the viewlayer of both scenes.
The actual duplication of the object is indeed a 'bug', caused by the usage of
BKE_object_scenes_users_get(bmain, ob) > 1
to check whether an object is used in more than one scene, which is no more valid as we saw above. Fixxing this is trivial, but does not really help on a practical point of view.This rather need a proper re-design of how this tool is working.
Are the uses of Right click on Collection ->
Instance to Scene
and Right click on Collection ->Unlink
working as expected? In aLinked Copy
scene, they seem like they're misbehaving. However, this could be covered in the proposed re-design.Regardless, thank you all for investigating!
Added subscriber: @RomboutVersluijs
What perhaps is confusing is that the collection does not have an indicator showing its a "multi-user" like copy-linked shows on say a cube. Its not visible clear whats is happening actually.
Only way we can see it, i guess, is context menu from a collection > unlink. That only indicates its a linked item. Should it show somewhere its a multi-user like it does with single objects?
There is however a flaw in this method. If use "Linked Copy", that the cube object and data dont show a multi user. But when i select the collection and use Object > Make Links > Objects Scene > Scene
Than i do get a multi-user on the data level but not on object level?! is that normal?
Attached simple cube. If you run that operator from object menu as i described, you do get a multi-user
Linked Copy.blend
EDIT
Never mind the scene, i still had the cube selected as well, thats why the make link worked like described. Though the collection should show its a link perhaps.
Sorry to ask, but how do you actually do this in this scenario?
If I look at the usecase from this report, what we probably want is single user copies of the collections of the source scene (having the same objects inside)
That way we can just unlink (not delete) anything that is in there and the source scene stays intact.
Not seeing a way to quickly do this though:
Duplicate Linked
on a collection is the best bet here (will duplicate the objects while keeping the object data linked)Make Single User
on a collection in the Outliner is not implementedPossibly, but unsure if this is the best way (loosing the "organization" part of collections if they all end up in the scene collection)
Not sure I understand correctly:
Not sure if I understand correctly, but you can drag collections from a
Blender File
view Outliner to anotherView Layer
view Outliner showing any scene you wantYou're right, the implementation you suggest above that line (single user copies of every collection in the scene, each of which contains linked duplicates of the objects) is the best/most intuitive implementation in my opinion. Perhaps there can be another option in the Scene copying menu (sibling to
Linked Copy
) that lets you link Collections as well, such as "New with Linked Collections
" as suggested by @mano-wii, as the linked Collections feature may be valuable to some users.Ahh, I think I just misunderstood this feature. I thought it was the same as
Make Single User
, but for a Collection (a feature which I can't find, but that problem falls outside of the scope of a bug report/feature request).Maybe I was doing something wrong before (such as the parenting issue you mentioned), but this is now working as you describe. My mistake!
Good tip, thank you! A tad cumbersome IMHO, but good to know it's possible.
Ok, to recap, it looks like this "bug" is in fact a misunderstanding of the features surrounding scene copying and collection linking, as originally suggested by @lichtwerk. Thank you all for clearing this up! It looks like there are a couple of potential TODO's (re-thinking the workflow for Scene/Collection management as suggested by @mont29, adding a new Copy Scene option that duplicates a Collection hierarchy to a new Scene using single user Collections containing linked duplicate objects, adding the ability to make a collection single user [assuming this doesn't exist and not that I just can't find it]), but otherwise not really a singular "issue".
Should have been
right-click -> ID Data -> Make Single User
in the outliner... Unfortunately this is only implemented for worlds and actions (!!!)... Tried checking if we could do this quickly at least for collections, but turns out this is not trivial, so guess this will adds to the TODO pile on this topic.Added subscribers: @Colin_Knu, @PratikPB2123
Please consider reworking system to be more like linking from external file and enable library override functionality. Then this linked copy option could inherit all the great work that's going into that other feature. And it will remove some confusion with two different systems using the term link but not working the same.
I've just run into this. Made a linked copy of a scene, now want to unlink a couple of lights in the second scene so that I can modify them without affecting the first scene.
How do we do this at the moment? I don't even seem to be able to delete them in the second scene without deleting them in the first scene. Thought a workaround might be to delete in the second, then copy paste them from the first scene back to the second, so I can modify them that way.
I remember in 2.79 this was easy to do.
Nevermind, figured it out.
Create a new collection in the second scene that's directly in the top level 'scene collection'
Then copy the lights and Paste them into the new collection
Then turn off the original collection (exclude from viewlayer checkbox).
Intuitive!....
I did try right clicking the lights collection in the second linked scene, then chose to unlink, didn't unlink it, then tried make the collection single user, didn't work, make local, didn't work.
I'm guessing at some point you'll just be able to click unlink on the collection and it'll make the collection unique to the current scene. Would be great if you could also click make local or unlink on individual objects too, regardless of whether they're in a linked collection. So confusing.