Page MenuHome

When performing operation 'Make single user' -> 'obj&data', object is removed from group.
Closed, ResolvedPublic

Description

OS: win7
Blender: 2.77 rc2 (or later). Hash: 02cabda

Let's say I have Cube object which is member of 'Cube ' group. If I use 'Make single user' -> 'obj&data' on it, it is getting removed from group. This happens only if object was linked to scene using :
scene.objects.link(cubeObj),
before using 'Make single user' operator.

Below is blend file with two example groups - one working ok (torus), second not working (cube).


Steps to reproduce:

  1. Run script, from above blend file, to link cube to scene.
  2. use 'U'-> 'make single user' -> 'obj&data' on cube.

Result: cube is removed from group
Expected result: cube should remain in group. Worked ok in 2.76. Works ok on torus in same file.

Event Timeline

Campbell Barton (campbellbarton) lowered the priority of this task from 90 to 50.Mar 14 2016, 10:05 AM

Submitted D1854. this makes the function work as intended,
though the way groups are handled here could be done differently.

Thanks for the fix. My bad that I didn't connected this bug with T47482. This would simplify your work I think.