4319c211dc19fedd526cc39139da0a9b3b2f9d0f
No user visible changes expected. This is needed for the asset shelf (#104831), so that the user can resize the asset shelf region, but it's ensured to always be snapped to a multiple of the row height (which can change over redraws). Before this, `RGN_FLAG_DYNAMIC_SIZE` would have to be set so that regions can control their own size in the `ARegionType::layout()` callback. But this would also disable resizing the region by the user. Tagging regions as being dynamically sized and disabling user resizing are now two separate options/flags. Included changes: - Rename `RGN_FLAG_PREFSIZE_OR_HIDDEN` to `RGN_FLAG_NO_USER_RESIZE` and make that generally disable user resizing like `RGN_FLAG_DYNAMIC_SIZE` used to, so that it can be used for more than just the properties editor tabs region. - Ensure regions that relied on the previous `RGN_FLAG_DYNAMIC_SIZE` behavior that disallowed user resizing have the `RGN_FLAG_NO_USER_RESIZE` flag set too now. - Versioning to ensure the previous point for old files. - Update comments.
…
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%
