Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Action filter entries in export setting list counts as a user for that action preventing deletion during cleanup #2373

Open
keedav opened this issue Oct 15, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@keedav
Copy link

keedav commented Oct 15, 2024

Describe the bug
The Action Filter list in the glTF export settings will register itself as a real user for all actions in that list, even for actions that are not selected for export. If at any point, the Action Filter list got populated with some actions, from that point onward they will not be cleaned up when exiting Blender even when I remove the actions from animations and nothing else references the action in the scene.

To Reproduce
Steps to reproduce the behavior:

  1. Create two NLA actions for any object, one named "WantedAction" another named "UnwantedAction" and add both Actions to separate NLA tracks
  2. Click on File->Export->glTF 2.0
  3. On the right Export settings side panel enable "Remember Export Settings"
  4. Scroll down, enable "Animation" then "Action Filter" then press "Refresh action list"
  5. Press "Export glTF 2.0" button
  6. In the Outliner, switch to Blender File display mode. Observe the number "2" at the users column next to the actions, indicating that the Export settings will keep a reference beside the NLA track
  7. In the NLA editor, delete the track with "UnwantedAction". In the Outliner the number of users drops to "1", which is just the Export Settings.

Expected behavior
Export Settings Action Filter list entries should not count as users for an NLA action. It is difficult for Blender users to figure out why their actions not cleaned up even when nothing else references them within the scene.
Alternatively, have an option to manually remove entries from the Action Filter list to clean up references.

Screenshots
Screenshot

.blend file/ .gltf (mandatory)
Bugreport.zip

Version

  • OS: Windows 11
  • Blender Version 4.2.2 LTS 2024-09-23 12:18
@julienduroure
Copy link
Collaborator

Confirmed

@julienduroure julienduroure added the bug Something isn't working label Oct 15, 2024
@julienduroure
Copy link
Collaborator

As a workaround for now :
Disable the action filter checkbox in UI will destroy the UI list, so remove the pointer to actions, so remove the extra user on each action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants