System Information
Operating system: Linux-4.15.0-175-generic-x86_64-with-glibc2.27 64 Bits
Graphics card: NVIDIA GeForce GTX 1050/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 470.103.01
Blender Version
Broken: version: 3.3.1, branch: master, commit date: 2022-10-04 18:35, hash: rBb292cfe5a936
Worked: (newest version of Blender that worked as expected)
Short description of error
I have an object with 2 bevel modifiers. Each one uses it's own vertex group to control the beveling.
I have a script that applies the first mod in the stack, and then removes its vertex group as well.
If you run this script 2 times, both mods, and both vertex groups should be removed.
Curiously, while the modifiers are both removed successfully, the first vgroup will reappear after the second run of the script, so after the 2nd mod and vgroup have been removed.
To workaround this, you can toggle into edit mode and back into object mode at the beginning of the script.
Possibly related to the commits mentioned here: https://developer.blender.org/T93896 ?
Exact steps for others to reproduce the error
- open the attached blend file
- verify how each bevel mod is related to a vertex group sharing its name
- run the script two times, and notice how the first vgroup reappears at the end