Maniphest T54915

Usercount of active action increases when editing things with COW enabled
Closed, ResolvedBUG

Assigned To
Bastien Montagne (mont29)
Authored By
Joshua Leung (aligorith)
May 1 2018, 5:13 PM
Tags
  • Code Quest
  • Dependency Graph
  • BF Blender: 2.8
Subscribers
Erick Tukuniata (erickblender)
Hjalti Hjálmarsson (hjalti)
Joshua Leung (aligorith)
Sergey Sharybin (sergey)

Description

Case 1: Adding Poses to Pose Library

  1. With the given test file
  2. Add a Pose Library (via properties editor)
  3. Add a new pose to pose library (via properties editor)
  4. Note that usercount of active action (see Dopesheet) increases
  5. Repeat... usercount increases every time.

Tested with 0636acc59ab + --enable-copy-on-write

Case 2: Rotating bones in Pose Mode

(Reported on IRC)

Revisions and Commits

rB Blender

Related Objects

Mentioned In
T54812: COW Operators: Pose Armature
Mentioned Here
rB0636acc59ab3: Icons: updated icons from @billreynish

Event Timeline

Joshua Leung (aligorith) lowered the priority of this task from 90 to Normal.May 1 2018, 5:13 PM
Joshua Leung (aligorith) created this task.
Joshua Leung (aligorith) updated the task description.
Joshua Leung (aligorith) updated the task description.
Joshua Leung (aligorith) mentioned this in T54812: COW Operators: Pose Armature.May 1 2018, 5:28 PM
Joshua Leung (aligorith) renamed this task from Adding Pose Library poses increases usercount of active action to Usercount of active action increases when editing things with COW enabled.May 23 2018, 1:03 PM
Joshua Leung (aligorith) claimed this task.
Joshua Leung (aligorith) triaged this task as High priority.
Joshua Leung (aligorith) moved this task from Tasks to Doing on the Code Quest board.
Joshua Leung (aligorith) updated the task description.
Joshua Leung (aligorith) added a subscriber: Sergey Sharybin (sergey).
Erick Tukuniata (erickblender) added a subscriber: Erick Tukuniata (erickblender).May 23 2018, 1:45 PM

Actually the usercount gets incremented in pose mode by doing anything action there ( move, scale, selection, rotate ), and note that COW is now default. If you play a bit with the file, just select some bones, rotate, scale, .... and do some undo in the middle, Blender will crash and sometimes not able to open the file anymore(crash on start).

Open the file and look at the usercount ->

Bastien Montagne (mont29) claimed this task.Jul 31 2018, 3:38 PM
Bastien Montagne (mont29) added a project: BF Blender: 2.8.
Bastien Montagne (mont29) added a subscriber: Hjalti Hjálmarsson (hjalti).
Bastien Montagne (mont29) changed the task status from Unknown Status to Resolved by committing rB53c56b2b5fdc: Fix T54915: Usercount of active action increases when editing things with COW….Aug 5 2018, 6:51 PM
Bastien Montagne (mont29) added a commit: rB53c56b2b5fdc: Fix T54915: Usercount of active action increases when editing things with COW….