5dcf704324dad758c005f2677b13506245132b0f
Some code attempted to use `BIFIconID` instead of `int` to pass around icon-ids. Problem is, that this is just a subset of the allowed ids, more icons may be created at runtime and extend the range of valid icon-ids. Such icons could give runtime warning prints. Idea is to use a `using BIFIconID = int;` instead. This way there is still a descriptive type name, while the whole dynamic range of possible icon-ids is supported. Additionally multiple `using BIFIconID = int;` declarations are valid, so we can place these in multiple headers and use the type name in APIs instead of just `int`, whithout having to include a single header defining them. A type mismatch (one instance differs from the others) will result in a compiler error. Pull Request: https://projects.blender.org/blender/blender/pulls/111052
…
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%
