Page MenuHome

Add/Remove Groups Not Working with Linked Objects
Open, Needs TriagePublic


Hash: 948515c

When using linked objects, all the Group commands [Remove From Group / Remove From All Groups / Add Selected To Active Group / Remove Selected From Active Group] except [Create New Group (Ctrl G)], do nothing

In my particular usage, I link a scene from one file

into my main scene , afterwards I create a [New scene with Link Objects] from the Linked scene.
I can Create Groups by selected objects, and I can remove the group from the object in the Object Properties tab but the only way to remove multiple groups is through python script or deleting the group itself.



Event Timeline

trying my luck here:

  • the mentioned group commands 'do nothing' because they check for selected_editable_bases [editable is not the case for linked stuff]
  • If you make those operators work on selected_bases [leave out the 'editable'] then your usecase becomes possible
  • removing the group from the Object Properties tab [X operator] dosent do the editable check afaics

However, it seems mandatory (I think) to distinct between groups defined in the sourcefile/linkedfile and groups defined locally.
e.g. even now it is possible to remove a group defined in the sourcefile/linkedfile from an object [which doesnt really make sense because that change will be lost on file reload - another 'bug' if you will]

From an uneducated first look a good solution would be to permit group operators to work on groups defined locally and prohibit to work on groups defined in the sourcefile/linkedfile, but need to have another look or chat with @Bastien Montagne (mont29), maybe?

The reason I even bothered doing groups here is because when you link a scene, the groups aren't linked as well, so either I can link all the objects to the new scene, or I can link the empty-group instead.

just had the same problem, it's a mess indeed, would be good to have a look. I agree it should be possible to add linked objects to local groups and forbid modifying groups coming from the linked file (and when user try to do so, it should say why it's not allowed)

@Philipp Oeser (lichtwerk) actually, why is this bug not confirmed?

Just wanted to file a similar bug (I am using Blender 2.8 Alpha 2):

When selecting multiple object e.g. Lamp and Cube in the standard scene and I press Ctrl+G it prompts me to type a new collection name. But that's about it. I can enter something but hitting enter leaves to popup open and no new collection appears.

(I would fix it if you can gave me a hint where to look in the code)


@Benjamin Neumann (BeNe), Ctrl+G creates collection not part of the scene, similar to groups in 2.8. If you want to create a collection in the scene, use M key.

The usability of this will be improved still.

@Brecht Van Lommel (brecht) Okay that the 2 are different is known but still if you hit Ctrl+G it opens a UI and asks you for a collection. THAT is the weird part. So if I understand you it should only group them (as in 2.7) but NOT create a new colleciton.

didn't collections replace the groups? i mean. they are kinda the same thing now? U could have unlimited amount of groups, and u could also instace groups.. and u could also have group inside group and u could also link stuff..

so why the hell we even have now group? i mean isn't that a collection now? i am lost.

@Maciej Jutrzenka (Kramon), @Benjamin Neumann (BeNe) : this task is specifically for group operations dealing with linked (from other blend files) objects.

Seeing a couple of other related tasks for grouping/collections in 2.8 (see e.g T58234, T58258, T58287), lets continue discussions there...

@Brecht Van Lommel (brecht): not sure T59707 is the same issue? This report deals with group operators acting on groups/collections from linked files (doesnt seem to be the case for T59707...)
This is more for T55099, no?

@Philipp Oeser (lichtwerk) i think brecht, is just merging.. all collection related stuff to one place so it is easy to get control. as Blender 2.8 beta seams more like alpha not acctualy full feature beta as usually beta stands for that... there is a lot of stuff to be yet designed... so... it is a mess at least for me. and the nameing 2.8 as beta for me is confusing.