4833dd931b5946ee3a9c82bda08fefcf4d76b8af
Align struct error
Change the `makesdna` error message from: ``` Align struct error: Bone color ``` to: ``` Align struct error: Bone::color (starts at 180 on the native platform; 180 % 8 = 4 bytes) ``` This has a few advantages: - The colon notation (`Bone::color`) makes it easier to recognise that this is about a specific struct field. - It makes it clear that this is about the start/offset of the inner struct. - It includes the math the check is actually doing, providing concrete information on how to change the code to fix the issue. Pull Request: https://projects.blender.org/blender/blender/pulls/110291
…
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%
