Blender Version
2.8 e65643b9a3e (Saturday 19May) with --enable-copy-on-write
Works without COW enabled
Exact steps for others to reproduce the error
- have default .blend file with the cube already selected
- in the outliner, make the collection unselectable (cube outline correctly disappears)
- Grab the object -> BAD it moves
Other operators also have this problem, eg. VIEW3D_OT_snap_cursor_to_active
These are returning an object, when I believe they shouldn't:
Object *ob = CTX_data_active_object(C);
Object *ob_eval_layer = OBACT(view_layer_eval);
This is evaluating to true: (ob_eval->flag & SELECT)