af63d06739ff958554a8890b9d79595edab1a042
When all vertex groups are *unlocked* and the Normalize All operator is run with "Lock Active" disabled, the operator would fail with the patently false error message "All groups are locked". The cause was that: 1. When all vertex groups are unlocked, the lock flags array used internally would be left empty, with the idea that a non-existent flag indicates "unlocked". 2. The code that determined if all groups were locked was checking if any of those flags were "unlocked". 3. In an empty array, of course no items are "unlocked", and thus it would think all items are locked. The fix in this PR is to also check if the flag array is empty when determining if all groups are locked. Pull Request: https://projects.blender.org/blender/blender/pulls/147272
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline—modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
