90c4e2e6ecdbbc11f3b4d037453d8c1c6b1d6873
Instead of a single function with variadic arguments, a special enum type containing which string to request, and a special struct to contain the request and the result, just use separate functions for each request, and return a std::string by value. Also change the enum item string access to just give access to the enum item itself and add const in a few places as necessary. The callers of the API function get much clearer this way, and it's much easier to see which information is used to create certain tooltip strings.
…
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
11%
C
6.3%
GLSL
2.2%
CMake
1.3%
Other
1.1%
