Nathan Vegdahl af63d06739 Fix #147009: Anim: Normalize All fails when all groups are unlocked
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
2025-10-06 03:51:21 +02:00
2025-10-03 09:42:48 +02:00
2025-10-03 18:42:28 +02:00
2025-10-02 18:34:11 +02:00
2025-10-05 23:36:04 +02:00
2023-12-08 13:28:13 +11:00
2025-07-10 12:48:33 +10:00
2025-10-03 09:42:48 +02:00

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.

Blender screenshot

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
No description provided
Readme 841 MiB
Languages
C++ 78%
Python 14.9%
C 2.9%
GLSL 1.9%
CMake 1.2%
Other 0.9%