[Rigify] Text files linked to armatures remain in the scene after deleting rig #104833

Open
opened 2023-08-11 10:52:01 +02:00 by Josselin-Manceau · 0 comments

System Information
Operating system: Linux-5.15.0-78-generic-x86_64-with-glibc2.31 64 Bits
Graphics card: Mesa Intel(R) UHD Graphics (CML GT2) Intel 4.6 (Core Profile) Mesa 21.2.6

Blender Version
Broken: version: 3.5.1, branch: blender-v3.5-release, commit date: 2023-04-24 18:11, hash: e1ccd9d4a1d3
Worked: (newest version of Blender that worked as expected)

Addon Information
Name: Rigify (0, 6, 7)
Author: Nathan Vegdahl, Lucio Rossi, Ivan Cappiello, Alexander Gavrilov

Short description of error
When generating a Rigify rig, the add-on adds python files. Those files are created with the Fake User attribute set to True, meaning that they remain in the scene even after the rig gets deleted. After creating/deleting a lot of rigs, one remains with a scene containing a lot of duplicate text files

Exact steps for others to reproduce the error
From an empty blend file:

  1. Create a human armature (alternatively, create an empty armature and add rigify samples to it)
  2. Generate Rigify rig
  3. Delete the rig and clean unused data
  4. Check the text files that remain in the scene

From the blend file linked to this issue:

  1. I've written a script called "demonstrate_bug.py" that automatically adds deletes rigs and prints the list of the remaining files. Just launch it and observe the text files that remain in the scene
**System Information** Operating system: Linux-5.15.0-78-generic-x86_64-with-glibc2.31 64 Bits Graphics card: Mesa Intel(R) UHD Graphics (CML GT2) Intel 4.6 (Core Profile) Mesa 21.2.6 **Blender Version** Broken: version: 3.5.1, branch: blender-v3.5-release, commit date: 2023-04-24 18:11, hash: `e1ccd9d4a1d3` Worked: (newest version of Blender that worked as expected) **Addon Information** Name: Rigify (0, 6, 7) Author: Nathan Vegdahl, Lucio Rossi, Ivan Cappiello, Alexander Gavrilov **Short description of error** When generating a Rigify rig, the add-on adds python files. Those files are created with the Fake User attribute set to True, meaning that they remain in the scene even after the rig gets deleted. After creating/deleting a lot of rigs, one remains with a scene containing a lot of duplicate text files **Exact steps for others to reproduce the error** From an empty blend file: 1. Create a human armature (alternatively, create an empty armature and add rigify samples to it) 2. Generate Rigify rig 3. Delete the rig and clean unused data 4. Check the text files that remain in the scene From the blend file linked to this issue: 1. I've written a script called "demonstrate_bug.py" that automatically adds deletes rigs and prints the list of the remaining files. Just launch it and observe the text files that remain in the scene
Josselin-Manceau added the
Priority
Normal
Status
Needs Triage
Type
Report
labels 2023-08-11 10:52:01 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 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-addons#104833
No description provided.