Usercount of active action increases when editing things with COW enabled #54915

Closed
opened 2018-05-01 17:13:16 +02:00 by Joshua Leung · 8 comments
Member

Case 1: Adding Poses to Pose Library

  1. With the given test file bone_cow-poselib_usercount_bug.blend
  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 0636acc59a + --enable-copy-on-write

Case 2: Rotating bones in Pose Mode

(Reported on IRC)

# Case 1: Adding Poses to Pose Library 1) With the given test file [bone_cow-poselib_usercount_bug.blend](https://archive.blender.org/developer/F3184345/bone_cow-poselib_usercount_bug.blend) 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)
Sergey Sharybin was assigned by Joshua Leung 2018-05-01 17:13:16 +02:00
Author
Member

Added subscriber: @JoshuaLeung

Added subscriber: @JoshuaLeung

#56178 was marked as duplicate of this issue

#56178 was marked as duplicate of this issue
Joshua Leung changed title from Adding Pose Library poses increases usercount of active action to Usercount of active action increases when editing things with COW enabled 2018-05-23 13:04:43 +02:00
Sergey Sharybin was unassigned by Joshua Leung 2018-05-23 13:04:43 +02:00
Joshua Leung self-assigned this 2018-05-23 13:04:43 +02:00
Author
Member

Added subscriber: @Sergey

Added subscriber: @Sergey

Added subscriber: @ErickNyanduKabongo

Added subscriber: @ErickNyanduKabongo

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 ->bone_rotation_selection_bug.blend

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 ->[bone_rotation_selection_bug.blend](https://archive.blender.org/developer/F3440280/bone_rotation_selection_bug.blend)
Joshua Leung was unassigned by Bastien Montagne 2018-07-31 15:38:18 +02:00
Bastien Montagne self-assigned this 2018-07-31 15:38:18 +02:00

Added subscriber: @Hjalti

Added subscriber: @Hjalti

This issue was referenced by 53c56b2b5f

This issue was referenced by 53c56b2b5fdc4fbb53a36e0856edf2c742f0848f

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#54915
No description provided.