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

Removing "Selected" shape keys doesn't update parent folder data #19

Open
lauwurence opened this issue Jul 4, 2022 · 1 comment
Open
Assignees
Labels

Comments

@lauwurence
Copy link

Just found that after deleting selected shape keys from a folder, the same amount of other folders below parents to that folder.

Select one shape key (with check mark):
image

Delete using bpy.ops.object.skp_shape_key_remove:
image

The Chest folder parents to the Thigh folder:
image

  • OS: Windows
  • Version: 2.0.2
@lauwurence lauwurence added the bug label Jul 4, 2022
@MichaelGlenMontague MichaelGlenMontague self-assigned this Jul 4, 2022
@MichaelGlenMontague
Copy link
Owner

MichaelGlenMontague commented Jul 4, 2022

This kind of bug is reminiscent of 1.x versions, before the new tree hierarchy system. Indeed, it looks like I somehow completely forgot to update the 'SELECTED' variant of the Remove Shape Key operator to use this new tree hierarchy system.

Until this gets patched, you can either use the Mutate Folder operator (found via search) to change the number of the parent folder's children back to the proper value, or use Unparent from Root on the selected keys before using Remove Shape Key.

@MichaelGlenMontague MichaelGlenMontague changed the title Folder automatically parents Removing "Selected" shape keys doesn't update parent folder data Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants