Files
test/source/blender
Bastien Montagne 60325a7f8c Gizmo: Refactor storage of 'target properties' to use a Vector.
Replace 'over-allocation' by a standard `blender::Vector` storage for
the `wmGizmoProperty` target properties of the gizmo. This simplifies code somewhat, and
makes the code ready to manage non-trivial types of data.

Explicit default values are also given to all data of `wmGizmoProperty`,
as it appears that the default constructor will not nullify values in
the (trivial) embedded `custom_func` struct.

NOTE: There is much more that could be done in the wmGizmo area to make
it use modern C++ features. The scope of this refactor is strictly
limited to allowing C++ construction/destruction of the wmGizmoProperty
data, as it embeds a PointerRNA pointer that will soon become
a non-trivial C++ struct.

Pull Request: https://projects.blender.org/blender/blender/pulls/128763
2024-10-09 16:07:12 +02:00
..
2024-10-04 12:20:33 +02:00
2024-10-09 14:04:29 +03:00
2024-09-20 13:14:57 +10:00
2024-10-04 11:33:21 +02:00
2024-10-09 22:37:36 +11:00
2024-10-09 16:34:39 +11:00
2024-10-09 22:37:10 +11:00
2024-10-09 10:28:39 +02:00
2024-10-09 15:49:55 +02:00
2024-10-04 11:33:21 +02:00