Maniphest T55126

COW problem: there is an active object even if unselectable
Closed, Resolved

Assigned To
Sergey Sharybin (sergey)
Authored By
Inês Almeida (brita_)
May 19 2018, 7:41 PM
Tags
  • BF Blender: 2.8
Subscribers
Inês Almeida (brita_)
Joshua Leung (aligorith)
Sergey Sharybin (sergey)

Description

Blender Version
2.8 e65643b9a3e (Saturday 19May) with --enable-copy-on-write
Works without COW enabled

Exact steps for others to reproduce the error

  1. have default .blend file with the cube already selected
  2. in the outliner, make the collection unselectable (cube outline correctly disappears)
  3. 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)

Revisions and Commits

rB Blender

Related Objects

Mentioned In
T54829: COW Operators: 3D View
Mentioned Here
rBe65643b9a3e9: Cleanup: style

Event Timeline

Inês Almeida (brita_) created this task.May 19 2018, 7:41 PM
Inês Almeida (brita_) updated the task description.
Inês Almeida (brita_) added subscribers: Sergey Sharybin (sergey), Joshua Leung (aligorith).
Inês Almeida (brita_) mentioned this in T54829: COW Operators: 3D View.May 20 2018, 9:47 AM
Inês Almeida (brita_) assigned this task to Sergey Sharybin (sergey).May 21 2018, 4:47 PM
Inês Almeida (brita_) lowered the priority of this task from 90 to 50.
Sergey Sharybin (sergey) changed the task status from Unknown Status to Resolved by committing rB86aaa3efba7c: Fix T55126: COW problem: there is an active object even if unselectable.Jun 7 2018, 4:31 PM
Sergey Sharybin (sergey) added a commit: rB86aaa3efba7c: Fix T55126: COW problem: there is an active object even if unselectable.