890e00cecb4f4fb502ecc2d82dc7a1cd6eb57223
- Make the module global and allow usage from anywhere. - Remove the matrix API for thread safety reason - Add lifetime management - Make display linked to the overlays for easy toggling ## Notes - Lifetime is in redraw. If there is 4 viewport redrawing, the lifetime decrement by 4 for each window redraw. This allows one viewport to be producer and another one being the consumer. - Display happens at the start of overlays. Any added visuals inside of the overlays drawing functions will be displayed the next redraw. - Redraw is not given to happen. It is only given if there is some scene / render update which tags the viewport to redraw. - Persistent lines are not reset on file load. Rel #137006 Pull Request: https://projects.blender.org/blender/blender/pulls/137106
…
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%
